Skip to content
Snippets Groups Projects
Commit 2cb41765 authored by Tim van Dijen's avatar Tim van Dijen Committed by Tim van Dijen
Browse files

Fix cookie domain default value

parent b6ed7d67
No related branches found
No related tags found
No related merge requests found
......@@ -159,7 +159,7 @@ abstract class SessionHandler
return [
'lifetime' => $config->getInteger('session.cookie.lifetime', 0),
'path' => $config->getString('session.cookie.path', '/'),
'domain' => $config->getString('session.cookie.domain', null),
'domain' => strval($config->getString('session.cookie.domain', null)),
'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.
Finish editing this message first!
Please register or to comment