From 5ee9175748882092892a5fbd886262cbb382cafa Mon Sep 17 00:00:00 2001
From: Olav Morken <olav.morken@uninett.no>
Date: Tue, 26 Oct 2010 08:44:37 +0000
Subject: [PATCH] www/authenticate.php: Fix logout.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2609 44740490-163a-0410-bde0-09ae8108e29a
---
 modules/core/www/authenticate.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/core/www/authenticate.php b/modules/core/www/authenticate.php
index f6f216224..50fda636c 100644
--- a/modules/core/www/authenticate.php
+++ b/modules/core/www/authenticate.php
@@ -51,6 +51,6 @@ $t = new SimpleSAML_XHTML_Template($config, 'status.php', 'attributes');
 
 $t->data['header'] = '{status:header_saml20_sp}';
 $t->data['attributes'] = $attributes;
-$t->data['logouturl'] = SimpleSAML_Utilities::selfURLNoQuery() . '?logout';
+$t->data['logouturl'] = SimpleSAML_Utilities::selfURLNoQuery() . '?as=' . urlencode($asId) . '&logout';
 $t->show();
 
-- 
GitLab