summaryrefslogtreecommitdiffstats
path: root/lib/SimpleSAML/Auth/Source.php
diff options
context:
space:
mode:
authorAndjelko Horvat <comel@vingd.com>2011-05-18 16:31:27 +0000
committerAndjelko Horvat <comel@vingd.com>2011-05-18 16:31:27 +0000
commitae4f1a7cbb04f10386544c854b3869558cd2fab2 (patch)
treee29dfe381be4d495a1dd4759e0b65f13af4fd5ef /lib/SimpleSAML/Auth/Source.php
parentf88688391a688c632b069ad79ea0fb61d6537e1d (diff)
downloadsimplesamlphp-ae4f1a7cbb04f10386544c854b3869558cd2fab2.zip
simplesamlphp-ae4f1a7cbb04f10386544c854b3869558cd2fab2.tar.gz
simplesamlphp-ae4f1a7cbb04f10386544c854b3869558cd2fab2.tar.bz2
Fix for IdP-first flow logout (issue 397).
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2839 44740490-163a-0410-bde0-09ae8108e29a
Diffstat (limited to 'lib/SimpleSAML/Auth/Source.php')
-rw-r--r--lib/SimpleSAML/Auth/Source.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/SimpleSAML/Auth/Source.php b/lib/SimpleSAML/Auth/Source.php
index 3400be1..d42d3ee 100644
--- a/lib/SimpleSAML/Auth/Source.php
+++ b/lib/SimpleSAML/Auth/Source.php
@@ -299,6 +299,9 @@ abstract class SimpleSAML_Auth_Source {
$data = $session->getData('SimpleSAML_Auth_Source.LogoutCallbacks', $id);
if ($data === NULL) {
+ /* FIXME: fix for IdP-first flow (issue 397) -> reevaluate logout callback infrastructure */
+ $session->doLogout($this->authId);
+
return;
}