Skip to content
Snippets Groups Projects
Commit 2489c293 authored by Dan Tsosie's avatar Dan Tsosie
Browse files

Fix handleLogout ignoring wreply override

parent 631e45ea
No related branches found
No related tags found
No related merge requests found
......@@ -175,6 +175,13 @@ class sspmod_adfs_IdP_ADFS {
}
public static function receiveLogoutMessage(SimpleSAML_IdP $idp) {
// if a redirect is to occur based on wreply, we will redirect to url as
// this implies an override to normal sp notification.
if(isset($_GET['wreply']) && !empty($_GET['wreply'])) {
$idp->doLogoutRedirect(SimpleSAML_Utilities::checkURLAllowed($_GET['wreply']));
assert(FALSE);
}
$state = array(
'Responder' => array('sspmod_adfs_IdP_ADFS', 'sendLogoutResponse'),
);
......
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