Fix transparent auth.
authorGunnar Wrobel <p@rdus.de>
Mon, 6 Dec 2010 05:39:05 +0000 (06:39 +0100)
committerGunnar Wrobel <p@rdus.de>
Mon, 6 Dec 2010 05:39:05 +0000 (06:39 +0100)
Setting to "null" here makes the isAuthenticated() check fail. Transparent
auth with Imp thus works once but fails on every subsequent check.

framework/Core/lib/Horde/Registry.php

index ec1b01f..8be55e1 100644 (file)
@@ -1918,7 +1918,7 @@ class Horde_Registry
 
         if (($base_app = $session->get('horde', 'auth/credentials')) &&
             ($session->get('horde', 'auth_app/' . $base_app) == $entry)) {
-            $entry = null;
+            $entry = true;
         }
 
         $session->set('horde', 'auth_app/' . $app, $entry);