Skip to content
Snippets Groups Projects
Commit adfea4b3 authored by Daniel Falkner Hansen's avatar Daniel Falkner Hansen
Browse files

Use ->setCookie() method that calls getCookie params internally

parent a5437da2
No related branches found
No related tags found
No related merge requests found
......@@ -761,7 +761,7 @@ class SimpleSAML_Session implements Serializable
if ($this->authToken !== null) {
$globalConfig = SimpleSAML_Configuration::getInstance();
\SimpleSAML\Utils\HTTP::setCookie(
$sessionHandler->setCookie(
$globalConfig->getString('session.authtoken.cookiename', 'SimpleSAMLAuthToken'),
$this->authToken,
$params
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment