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

SingleLogoutServiceiFrame: Show list of SPs when no SPs with a logout endpoint is configured.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1779 44740490-163a-0410-bde0-09ae8108e29a
parent 4001d5a2
No related branches found
No related tags found
No related merge requests found
...@@ -344,7 +344,7 @@ try { ...@@ -344,7 +344,7 @@ try {
/* /*
* If the user is not logged into any other SPs, send the LogoutResponse immediately * If the user is not logged into any other SPs, send the LogoutResponse immediately
*/ */
if (count($sparray) === 0) { if (count($sparray) + count($sparrayNoLogout) === 0) {
$httpredirect->setDestination(sspmod_SAML2_Message::getDebugDestination()); $httpredirect->setDestination(sspmod_SAML2_Message::getDebugDestination());
$httpredirect->send($rg); $httpredirect->send($rg);
} else { } else {
......
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