[horde] auto login

Jan Schneider jan at horde.org
Wed Jul 18 09:30:09 UTC 2007


Zitat von Davide Giunchi <davide.giunchi at gmail.com>:

> I'm using Horde groupware webmail edition 1.0.1, there's a way to let
> the users do an automatic login?
>
> I've tried to store the cookie and the browser and doesn't remove it,
> but at the next connection it ask me again for the password.
> I could do a script on the client that automatically send the post
> data, but it's an ugly hack.
> There's a cleaner way to do it?

Create a post_authenticate hook that sets an cookie with the  
(encrypted!) user credentials. The use horde/scripts/cookie_login.php  
as a starting point for cookie based authentication.

And if you are ready, post everything on wiki.horde.org. ;-)

Jan.

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



More information about the horde mailing list