From ab78d544c45810037890993878f1115edc44eaf6 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Tue, 8 Jul 2014 16:39:24 -0600 Subject: [PATCH] [mms] Fix clearing authentication-related registry caches when initializing a session in certain instances (Bug #13329). --- framework/Core/lib/Horde/Registry.php | 3 ++- framework/Core/package.xml | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/framework/Core/lib/Horde/Registry.php b/framework/Core/lib/Horde/Registry.php index 36f95f8ea39..635e5de9d6a 100644 --- a/framework/Core/lib/Horde/Registry.php +++ b/framework/Core/lib/Horde/Registry.php @@ -2497,8 +2497,9 @@ public function setAuth($authId, $credentials, array $options = array()) } $session->set('horde', 'auth/timestamp', time()); $session->set('horde', 'auth/userId', $this->convertUsername(trim($authId), true)); + $this->_cache['auth'] = null; - $this->_cache['existing'] = array(); + $this->_cache['existing'] = $this->_cache['isauth'] = array(); $this->setAuthCredential($credentials, null, $app); diff --git a/framework/Core/package.xml b/framework/Core/package.xml index c8ca583a19e..91a54ade41e 100644 --- a/framework/Core/package.xml +++ b/framework/Core/package.xml @@ -39,6 +39,7 @@ LGPL-2.1 +* [mms] Fix clearing authentication-related registry caches when initializing a session in certain instances (Bug #13329). * [mms] Sanity checking in case smartmobile URL contains anchor that doesn't exist on the page. @@ -3527,6 +3528,7 @@ 2014-07-08 LGPL-2.1 +* [mms] Fix clearing authentication-related registry caches when initializing a session in certain instances (Bug #13329). * [mms] Sanity checking in case smartmobile URL contains anchor that doesn't exist on the page.