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

SimpleSAML_Auth_Simple: Don't overwrite existing restart url.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2606 44740490-163a-0410-bde0-09ae8108e29a
parent 6de0cdaa
No related branches found
No related tags found
No related merge requests found
...@@ -111,13 +111,14 @@ class SimpleSAML_Auth_Simple { ...@@ -111,13 +111,14 @@ class SimpleSAML_Auth_Simple {
} }
/* if (!isset($params[SimpleSAML_Auth_State::RESTART])) {
* An URL to restart the authentication, in case the user bookmarks /*
* something, e.g. the discovery service page. * An URL to restart the authentication, in case the user bookmarks
*/ * something, e.g. the discovery service page.
$restartURL = $this->getLoginURL($returnTo); */
$restartURL = $this->getLoginURL($returnTo);
$params[SimpleSAML_Auth_State::RESTART] = $restartURL; $params[SimpleSAML_Auth_State::RESTART] = $restartURL;
}
SimpleSAML_Auth_Default::initLogin($this->authSource, $returnTo, $errorURL, $params); SimpleSAML_Auth_Default::initLogin($this->authSource, $returnTo, $errorURL, $params);
assert('FALSE'); assert('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