projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3144d5e
)
Bug #9466: Fix clearing session for certain logout types
author
Michael M Slusarz
<slusarz@curecanti.org>
Thu, 23 Dec 2010 08:46:46 +0000
(
01:46
-0700)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Thu, 23 Dec 2010 08:47:19 +0000
(
01:47
-0700)
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
patch
|
blob
|
history
diff --git
a/horde/login.php
b/horde/login.php
index
59efa11
..
97ff012
100644
(file)
--- 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;