Page 1 of 1

Baz L :: 16.05.2008 08:35:47
Why are you doing a manual find on the user? The Auth::login() takes care of that. You can feed $cookie straight to it. Might need to set "token" back to "password" though.
lecterror :: 16.05.2008 08:42:41
That's actually a very good point.

I think something didn't work when I tried that at first, but that was my first contact with Cake, I might have done something terribly wrong... :-)

I'll try it and update the article if I succeed this time. [doh]

Thanks Baz ;-)
rtconner :: 27.07.2008 22:40:27
is that really a good idea just store the users password in a cookie like that?
lecterror :: 02.09.2008 07:35:47
Hi rtconner,

I don't worry too much about that. If someone has access to your cookies, I think they are the last thing you need to worry about.. :-)