Fix config migrator using a string instead of an int (#1368)

This commit is contained in:
Belle Aerni authored and GitHub committed 2023-06-25 23:37:54 +03:00
1 parent 484de12ae2
commit 4742615870
1 file changed
+1 -1
+1 -1
View File
@@ -54,7 +54,7 @@ class UpdatePatcher implements InjectionAwareInterface
$newConfig = $currentConfig;
$newConfig['security']['mode'] ??= 'strict';
$newConfig['security']['force_https'] ??= true;
$newConfig['security']['cookie_lifespan'] ??= '7200';
$newConfig['security']['cookie_lifespan'] ??= 7200;
$newConfig['update_branch'] ??= 'release';
$newConfig['log_stacktrace'] ??= true;
$newConfig['stacktrace_length'] ??= 25;