From 4742615870296dec59d1b9cef71c297ef3cd183b Mon Sep 17 00:00:00 2001 From: Belle Aerni Date: Sun, 25 Jun 2023 13:37:54 -0700 Subject: [PATCH] Fix config migrator using a string instead of an int (#1368) --- src/library/FOSSBilling/UpdatePatcher.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/library/FOSSBilling/UpdatePatcher.php b/src/library/FOSSBilling/UpdatePatcher.php index afa8cec84..b2c17a8e1 100644 --- a/src/library/FOSSBilling/UpdatePatcher.php +++ b/src/library/FOSSBilling/UpdatePatcher.php @@ -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;