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
Branches
Tags
No related merge requests found
...@@ -159,7 +159,7 @@ abstract class SessionHandler ...@@ -159,7 +159,7 @@ abstract class SessionHandler
return [ return [
'lifetime' => $config->getInteger('session.cookie.lifetime', 0), 'lifetime' => $config->getInteger('session.cookie.lifetime', 0),
'path' => $config->getString('session.cookie.path', '/'), '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), 'secure' => $config->getBoolean('session.cookie.secure', false),
'samesite' => $config->getString('session.cookie.samesite', null), 'samesite' => $config->getString('session.cookie.samesite', null),
'httponly' => true, 'httponly' => true,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment