Tuesday, November 29, 2011

Re: Remember Me with Cookie and Auth Component

Hi Miles, 

I cannot get the component to work, so I switched back to my own cookie login method.
I can successfully login the user with the cookie, however, I only have the email address and password available.
Is there anyway that i can initialize the user after he logged in?

When i debug $this->Auth->user() I get:

email = 'foo@bar.com',
password = 'foobar'

I would like to add all the additional fields in my DB to the user object.

Thanks,

Jordy

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
 
 
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: