Revert "Existence check"
authorMichael M Slusarz <slusarz@curecanti.org>
Wed, 22 Jul 2009 19:29:27 +0000 (13:29 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Wed, 22 Jul 2009 19:29:27 +0000 (13:29 -0600)
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.

framework/Auth/lib/Horde/Auth.php

index ad8731d..8c5b41d 100644 (file)
@@ -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();
         }