From a853a79beef2d73126caaa08fb8bff92e1d3a4a1 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Thu, 23 Dec 2010 01:46:46 -0700 Subject: [PATCH] Bug #9466: Fix clearing session for certain logout types The first time through login.php after logout, the session will still exist (even though is_auth might be false). This is the check we need to perform to ensure that the user is properly logged out. --- horde/login.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/horde/login.php b/horde/login.php index 59efa119c..97ff012e6 100644 --- a/horde/login.php +++ b/horde/login.php @@ -88,7 +88,7 @@ case Horde_Core_Auth_Application::REASON_SESSIONIP: case Horde_Core_Auth_Application::REASON_BROWSER: case Horde_Auth::REASON_LOGOUT: /* Don't show these logout reasons more than once. */ - if (!$is_auth) { + if (!$registry->getAuth()) { $logout_reason = null; } break; -- 2.11.0