From: Michael M Slusarz Date: Thu, 23 Dec 2010 08:46:46 +0000 (-0700) Subject: Bug #9466: Fix clearing session for certain logout types X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=a853a79beef2d73126caaa08fb8bff92e1d3a4a1;p=horde.git 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. --- 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;