mirror of
https://github.com/getgrav/grav.git
synced 2026-06-12 05:50:23 +02:00
Improved session fixation handling in PHP 7.4+ (cookie fix for invalidate)
This commit is contained in:
@@ -349,6 +349,8 @@ class Session implements SessionInterface
|
||||
'samesite' => $params['samesite']
|
||||
);
|
||||
|
||||
$this->removeCookie();
|
||||
|
||||
setcookie(
|
||||
session_name(),
|
||||
'',
|
||||
|
||||
Reference in New Issue
Block a user