From e92707d031b2b92434edd925758bd6b3869ddf64 Mon Sep 17 00:00:00 2001
From: Olav Morken <olav.morken@uninett.no>
Date: Mon, 7 Mar 2011 13:26:27 +0000
Subject: [PATCH] saml:SP: Add logout status to state array.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2760 44740490-163a-0410-bde0-09ae8108e29a
---
 modules/saml/www/sp/saml2-logout.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/saml/www/sp/saml2-logout.php b/modules/saml/www/sp/saml2-logout.php
index 99f605569..bd4f17b5e 100644
--- a/modules/saml/www/sp/saml2-logout.php
+++ b/modules/saml/www/sp/saml2-logout.php
@@ -55,6 +55,7 @@ if ($message instanceof SAML2_LogoutResponse) {
 	}
 
 	$state = SimpleSAML_Auth_State::loadState($relayState, 'saml:slosent');
+	$state['saml:sp:LogoutStatus'] = $message->getStatus();
 	SimpleSAML_Auth_Source::completeLogout($state);
 
 } elseif ($message instanceof SAML2_LogoutRequest) {
-- 
GitLab