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

Auth/Default: Set $session->idp on unsolicited authentication.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2250 44740490-163a-0410-bde0-09ae8108e29a
parent 4b1bfb3f
No related branches found
No related tags found
No related merge requests found
......@@ -233,6 +233,12 @@ class SimpleSAML_Auth_Default {
$session->setLogoutState($state['LogoutState']);
}
if (array_key_exists('IdP', $state)) {
$session->setIdP($state['IdP']);
} else {
$session->setIdP(NULL);
}
SimpleSAML_Utilities::redirect($redirectTo);
}
......
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