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

Auth_Default: Make it possible to set the current IdP from authentication sources.

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