From 5f8d52541f72b9ddc5f30201736e8bb5f1b87eae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=85kre=20Solberg?= <andreas.solberg@uninett.no> Date: Sun, 20 Apr 2008 17:23:14 +0000 Subject: [PATCH] Fix for logout with memcache sessio handler. serious bug caused logout to not work. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@500 44740490-163a-0410-bde0-09ae8108e29a --- lib/SimpleSAML/Session.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/SimpleSAML/Session.php b/lib/SimpleSAML/Session.php index 8d689f0f3..b93f8377c 100644 --- a/lib/SimpleSAML/Session.php +++ b/lib/SimpleSAML/Session.php @@ -333,7 +333,8 @@ class SimpleSAML_Session implements SimpleSAML_ModifiedInfo { (isset($authority) ? $authority : 'null')); $this->authority = $authority; $this->authenticated = $auth; - + $this->dirty = true; + if ($auth) { $this->clearNeedAuthFlag(); $this->sessionstarted = time(); -- GitLab