You should be hashing the password before saving it. Jeremy Burns Class Outfit
http://www.classoutfit.com On 19 Jun 2012, at 19:41:30, Joey Hauschildt wrote: > debug($this->Session->read('Auth.User')); and debug($this->Auth->User()); > both return: > > array( > 'User' => array( > 'password' => '*****', > 'email' => '[email protected]' > ) > ) > > These are the fields that the user uses to log in. The password isn't even > hashed. When I print_r, it displays the actual password. I would like to have > access to other user info like an ID or role. Do I need to use my own query > to get this info or should the Auth Component be grabbing that stuff for me?. > > -- > 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 > [email protected] For more options, visit this group at > http://groups.google.com/group/cake-php -- 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 [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
