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

core/authenticate.php: Add restart URL.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1916 44740490-163a-0410-bde0-09ae8108e29a
parent 652a7e39
No related branches found
No related tags found
No related merge requests found
......@@ -36,7 +36,11 @@ if(!array_key_exists('as', $_REQUEST)) {
$as = $_REQUEST['as'];
if (!$session->isValid($as)) {
SimpleSAML_Auth_Default::initLogin($as, SimpleSAML_Utilities::selfURL(), SimpleSAML_Utilities::selfURL());
$url = SimpleSAML_Utilities::selfURL();
$hints = array(
SimpleSAML_Auth_State::RESTART => $url,
);
SimpleSAML_Auth_Default::initLogin($as, $url, $url, $hints);
}
$attributes = $session->getAttributes();
......
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