Skip to content
Snippets Groups Projects
Commit 6fd675ea authored by Jaime Pérez Crespo's avatar Jaime Pérez Crespo
Browse files

Fix for SLO in WS-Fed.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@3213 44740490-163a-0410-bde0-09ae8108e29a
parent 140b6c5d
No related branches found
No related tags found
No related merge requests found
......@@ -24,7 +24,12 @@ if (!$config->getBoolean('enable.wsfed-sp', false))
throw new SimpleSAML_Error_Error('NOACCESS');
if (!empty($_GET['wa']) and ($_GET['wa'] == 'wsignoutcleanup1.0')) {
print 'Logged Out';
if (isset($session) && $session->isValid('wsfed')) {
$session->doLogout('wsfed');
}
if (!empty($_GET['wreply'])) {
SimpleSAML_Utilities::redirect(urldecode($_GET['wreply']));
}
exit;
}
......
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