Auth component: how to change current user, w/out password?

2008-06-04 Thread mcjustin
Is it possible to programmatically switch which user the Auth lib has logged in, without knowing the password of the second user? For example, userAdminJoe is logged in. I want him to be able to click a link which will switch him to be treated as user userPeonJack. I want to do this at the Auth

Re: Auth component: how to change current user, w/out password?

2008-06-04 Thread Dardo Sordi Bogado
I think you can do $this-Auth-login($id); Regards, - Dardo Sordi. On Wed, Jun 4, 2008 at 7:16 PM, mcjustin [EMAIL PROTECTED] wrote: Is it possible to programmatically switch which user the Auth lib has logged in, without knowing the password of the second user? For example, userAdminJoe