6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
10/28/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#1622] Allow custom error messages from pre/post auth hooks
*
Your Email Address
*
Spam protection
Enter the letters below:
.___..___..___..___.___. _/ | _/ [__ _/ ./__. | ./__.[___./__.
Comment
> In the pre & post auth hooks (_horde_hook_preauthenticate, > _horde_hook_postauthenticate), it is impossible to specify a custom > error message to be displayed to the user for login failures. This > is because the true/false return of the hook is used to simply > generate the generic login failure error message. > > > > It would be nice to be able to specify a custom error message for all > hooks, and the attached patch allows for such a feature in at least > the pre/post auth hooks. > > > > However, I would highly recommend the patch be used simply as an idea > - it generates low level warning messages sometimes when the > $GLOBALS['__autherror'] array does not exist (querying a non-existant > key name), and also hard codes the $GLOBALS['__autherror'] array in a > place where an abstraction function to access such info should really > be used. > > > > Eli.
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