Skip to content

Commit

Permalink
Merge pull request #7919 from paulbalandan/session-service
Browse files Browse the repository at this point in the history
refactor: remove unneeded arguments to session
  • Loading branch information
kenjis authored Sep 11, 2023
2 parents cc28c41 + a6eceb0 commit 6c4f668
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/Common.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6c4f668

Please sign in to comment.