diff --git a/system/Common.php b/system/Common.php index c964e10ea899..e95b0616d8eb 100644 --- a/system/Common.php +++ b/system/Common.php @@ -499,7 +499,7 @@ function force_https( // If the session status is active, we should regenerate // the session ID for safety sake. if (ENVIRONMENT !== 'testing' && session_status() === PHP_SESSION_ACTIVE) { - Services::session(null, true)->regenerate(); // @codeCoverageIgnore + Services::session()->regenerate(); // @codeCoverageIgnore } $baseURL = config(App::class)->baseURL;