Revert "no notice if the 'driver' key isn't set in the session"
authorMichael M Slusarz <slusarz@curecanti.org>
Wed, 22 Jul 2009 02:59:55 +0000 (20:59 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Wed, 22 Jul 2009 03:00:17 +0000 (21:00 -0600)
This reverts commit ce0b066d93b1c3ac2a3e2df4c21eb1ff81a8c508.

framework/Auth/lib/Horde/Auth.php

index db03db0..79af2b2 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();
         }