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

consentAdmin: Include base url when redirecting to login page.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1704 44740490-163a-0410-bde0-09ae8108e29a
parent 063e1af4
No related branches found
No related tags found
No related merge requests found
......@@ -69,7 +69,7 @@ $session = SimpleSAML_Session::getInstance();
/* Check if valid local session exists */
if (!isset($session) || !$session->isValid('saml2') ) {
// Set idpentity to force a specific IdP
SimpleSAML_Utilities::redirect('/saml2/sp/initSSO.php',
SimpleSAML_Utilities::redirect('/' . $config->getBaseURL() . '/saml2/sp/initSSO.php',
array('RelayState' => SimpleSAML_Utilities::selfURL())
);
}
......
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