[Tickets #3895] Auth::get... in hooks
bugs@bugs.horde.org
bugs at bugs.horde.org
Thu May 11 09:41:54 PDT 2006
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/?id=3895
-----------------------------------------------------------------------
Ticket | 3895
Updated By | Jan Schneider <jan at horde.org>
Summary | Auth::get... in hooks
Queue | Horde Base
Version | HEAD
State | Feedback
-Priority | 3. High
+Priority | 1. Low
Type | Bug
Owners | Jan Schneider
-----------------------------------------------------------------------
Jan Schneider <jan at horde.org> (2006-05-11 09:41) wrote:
> As I discovered and tried to explain below, the hook is called before
> the Auth object is filled. And there I get false from the various
> Auth::get... calls.
That's how it is supposed to work. If entering the script you're not
authenticated, thus Auth::getAuth() returns false. After authentication the
prefs are reloaded for the authenticated user.
> Maybe I didn't get everything, but is there a reason why the hook
> gets called 4 times at login?
No, 2 times should be sufficient, we should look into this.
More information about the bugs
mailing list