mirror of
https://github.com/filegator/filegator.git
synced 2025-08-10 19:54:33 +02:00
Cookie samesite defaults to Lax, fixes #232
This commit is contained in:
@@ -2,6 +2,8 @@
|
||||
|
||||
## Upcoming...
|
||||
|
||||
* Cookie samesite defaults to Lax, fixes #232
|
||||
|
||||
## 7.5.2 - 2021-06-24
|
||||
|
||||
* Composer update
|
||||
|
@@ -44,7 +44,9 @@ return [
|
||||
//$save_path = __DIR__.'/private/sessions';
|
||||
$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