mirror of
https://github.com/filegator/filegator.git
synced 2025-08-13 12:14:07 +02:00
Cookie samesite defaults to Lax, fixes #232
This commit is contained in:
@@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
## Upcoming...
|
## Upcoming...
|
||||||
|
|
||||||
|
* Cookie samesite defaults to Lax, fixes #232
|
||||||
|
|
||||||
## 7.5.2 - 2021-06-24
|
## 7.5.2 - 2021-06-24
|
||||||
|
|
||||||
* Composer update
|
* Composer update
|
||||||
|
@@ -44,7 +44,9 @@ return [
|
|||||||
//$save_path = __DIR__.'/private/sessions';
|
//$save_path = __DIR__.'/private/sessions';
|
||||||
$handler = new \Symfony\Component\HttpFoundation\Session\Storage\Handler\NativeFileSessionHandler($save_path);
|
$handler = new \Symfony\Component\HttpFoundation\Session\Storage\Handler\NativeFileSessionHandler($save_path);
|
||||||
|
|
||||||
return new \Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage([], $handler);
|
return new \Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage([
|
||||||
|
"cookie_samesite" => "Lax",
|
||||||
|
], $handler);
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
|
Reference in New Issue
Block a user