Skip to content
Snippets Groups Projects
Commit 2ff5de5e authored by Olav Morken's avatar Olav Morken
Browse files

saml2_Message: Add unique SessionIndex for each SP.

Fixes issue 44.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2146 44740490-163a-0410-bde0-09ae8108e29a
parent bd8cf2e4
No related branches found
No related tags found
No related merge requests found
......@@ -589,8 +589,7 @@ class sspmod_saml2_Message {
$sessionLifetime = $config->getInteger('session.duration', 8*60*60);
$a->setSessionNotOnOrAfter(time() + $sessionLifetime);
$sessionIndex = $session->getSessionIndex();
$a->setSessionIndex($sessionIndex);
$a->setSessionIndex(SimpleSAML_Utilities::generateID());
/* Add attributes. */
......
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