mirror of
https://github.com/filegator/filegator.git
synced 2025-08-09 14:46:40 +02:00
httponly cookie by default
This commit is contained in:
@@ -48,6 +48,7 @@ return [
|
|||||||
return new \Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage([
|
return new \Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage([
|
||||||
"cookie_samesite" => "Lax",
|
"cookie_samesite" => "Lax",
|
||||||
"cookie_secure" => null,
|
"cookie_secure" => null,
|
||||||
|
"cookie_httponly" => true,
|
||||||
], $handler);
|
], $handler);
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
Reference in New Issue
Block a user