diff options
author | Andjelko Horvat <comel@vingd.com> | 2011-05-18 16:31:27 +0000 |
---|---|---|
committer | Andjelko Horvat <comel@vingd.com> | 2011-05-18 16:31:27 +0000 |
commit | ae4f1a7cbb04f10386544c854b3869558cd2fab2 (patch) | |
tree | e29dfe381be4d495a1dd4759e0b65f13af4fd5ef /lib/SimpleSAML/Auth/Source.php | |
parent | f88688391a688c632b069ad79ea0fb61d6537e1d (diff) | |
download | simplesamlphp-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.php | 3 |
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; } |