>-----Message d'origine-----
>De : Kiffin Gish [mailto:[email protected]] 
>Envoyé : lundi, 18. janvier 2010 11:34
>À : The elegant MVC web framework
>Objet : [Catalyst] Login as another user ...
>
>As system administrator who has root access to everything, I want to be
>able to login as another user from my dashboard page.
>
>What's the best way to achieve this? I tried $c->authenticate without a
>password, but this doesn't seem to work.
>
>-- 

If authentication is based on cookies, and if you have access to the cookie 
algorithm, then you could have a "change user" action (of course protected so 
that only admins can do it), and that action replaces the current 
authentication cookie by another one in name of somebody else.

cheers, Laurent D.

_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to