Skip to content
Snippets Groups Projects
Commit 42d5fff9 authored by Jaime Perez Crespo's avatar Jaime Perez Crespo
Browse files

Bugfix: if there's no session, getCookieSessionId() cannot return a session...

Bugfix: if there's no session, getCookieSessionId() cannot return a session identifier, therefore there's no session we can return. This resolves #256.
parent 6b8b1d10
No related branches found
No related tags found
No related merge requests found
......@@ -215,6 +215,9 @@ class SimpleSAML_Session
if ($sessionId === null) {
$checkToken = true;
$sessionId = $sh->getCookieSessionId();
if ($sessionId === null) {
return null;
}
} else {
$checkToken = false;
}
......
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