6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
9/24/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#3895] Auth::get... in hooks
*
Your Email Address
*
Spam protection
Enter the letters below:
. .._..__ .__ . . |__| | [__)[ __| | | |_|_| [_./|/\|
Comment
> I'm pretty sure that my configs are up to date. > > > > 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. > > But the hook gets recalled later on in the login process and then the > Auth::get... calls also return the desired values. > > Now that I know this, I modified the hook in the way that it just > returns if Auth::get... returns false. Before I wasn't checking that > and used the any returned value for doing an ldap lookup. That was > confusing me, because of errors in the subsequent ldap lookups. > > > > Maybe I didn't get everything, but is there a reason why the hook > gets called 4 times at login?
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers