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

Fix cookie domain default value

parent 93755073
No related branches found
No related tags found
No related merge requests found
...@@ -158,7 +158,7 @@ abstract class SessionHandler ...@@ -158,7 +158,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