mirror of
https://github.com/Mibew/mibew.git
synced 2025-01-31 05:20:30 +03:00
Fix damned cookies behaviour in modern chrome
This commit is contained in:
parent
8aba48a1d2
commit
cd22f3e9d8
@ -55,6 +55,7 @@ $tmp_request = \Symfony\Component\HttpFoundation\Request::createFromGlobals();
|
||||
@ini_set('session.cookie_httponly', true);
|
||||
if ($tmp_request->isSecure()) {
|
||||
@ini_set('session.cookie_secure', true);
|
||||
@ini_set('session.cookie_samesite', 'None');
|
||||
}
|
||||
@ini_set('session.cookie_path', $tmp_request->getBasePath() . "/");
|
||||
@ini_set('session.name', 'MibewSessionID');
|
||||
|
Loading…
Reference in New Issue
Block a user