Skip to content
Snippets Groups Projects
Unverified Commit ed349fe9 authored by Tim van Dijen's avatar Tim van Dijen Committed by GitHub
Browse files

Simplify

parent 8e678c43
No related branches found
No related tags found
No related merge requests found
......@@ -155,7 +155,7 @@ abstract class SessionHandler
return [
'lifetime' => $config->getInteger('session.cookie.lifetime', 0),
'path' => $config->getString('session.cookie.path', '/'),
'domain' => strval($config->getString('session.cookie.domain', null)),
'domain' => $config->getString('session.cookie.domain', ''),
'secure' => $config->getBoolean('session.cookie.secure', false),
'samesite' => $config->getString('session.cookie.samesite', null),
'httponly' => true,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment