From: Michael M Slusarz Date: Wed, 22 Jul 2009 19:29:27 +0000 (-0600) Subject: Revert "Existence check" X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=ea873cfdfa3cc8b95e558520f2985102a447fa13;p=horde.git Revert "Existence check" This reverts commit 9f6fe242c7f7b67d7efd8b034ec35de786f436d6. 2nd time :) But this is exactly where we don't want to do existence checking, since there is absolutely no reason why $driver should not exist if horde_auth is active. We need to discover the source of the problem here, not mask it. --- diff --git a/framework/Auth/lib/Horde/Auth.php b/framework/Auth/lib/Horde/Auth.php index ad8731d2f..8c5b41d20 100644 --- a/framework/Auth/lib/Horde/Auth.php +++ b/framework/Auth/lib/Horde/Auth.php @@ -373,7 +373,7 @@ class Horde_Auth /* Check for cached authentication results. */ if ($is_auth && - ((isset($_SESSION['horde_auth']['driver']) && $_SESSION['horde_auth']['driver'] == $driver) || + (($_SESSION['horde_auth']['driver'] == $driver) || isset($_SESSION['horde_auth']['app'][$driver]))) { return self::checkExistingAuth(); }