[horde] Hacking passwd to work in H4

Jan Schneider jan at horde.org
Sat Jul 23 08:38:33 UTC 2011


Zitat von Stephan Kleber <stephan at admin.nabira.de>:

> Hi Jan, Hi all,
>
>> Pass a Horde_Auth_Exception as the 2nd parameter to
>> authenticateFailure(). If you use the Horde_Auth::REASON_MESSAGE error
>> code, the exception message will be displayed to the user.
>
> I tried this but just got the exeption thrown as such. I was not even
> redirected to the login-page.

You must not throw the exception there. You need to pass it to  
authenticateFailure().

> I hate to say it, but the api documentation under dev.horde.org/api has
> not been a great help here. The comments are too short to really
> understand what each method is doing.
>
> I'm making very, very small steps here, but I am grateful for any
> further ideas.
>
> Thanks and Greetz
> Stephan
> --
> Horde mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org


Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the horde mailing list