projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08168a1
)
If checkExistingAuth() fails, log the user out.
author
Jan
<jan@horde.org>
Tue, 8 Jun 2010 17:52:08 +0000
(18:52 +0100)
committer
Jan Schneider
<jan@horde.org>
Tue, 8 Jun 2010 17:58:56 +0000
(19:58 +0200)
framework/Core/lib/Horde/Registry.php
patch
|
blob
|
history
diff --git
a/framework/Core/lib/Horde/Registry.php
b/framework/Core/lib/Horde/Registry.php
index
e279885
..
d24f138
100644
(file)
--- a/
framework/Core/lib/Horde/Registry.php
+++ b/
framework/Core/lib/Horde/Registry.php
@@
-1694,7
+1694,11
@@
class Horde_Registry
if (($_SESSION['horde_auth']['driver'] == $driver) ||
isset($_SESSION['horde_auth']['app'][$driver])) {
- return Horde_Auth::checkExistingAuth();
+ if (Horde_Auth::checkExistingAuth()) {
+ return true;
+ }
+ $this->clearAuth();
+ return false;
}
}