this is a code, which hash a password properly for Auth component.... {{{{ Security::hash('yourpassword', "sha1", true);
}}}} so when you save this, do this before you save {{{ $this->data['User']['password'] = Security::hash($this->data['User']['password'], 'sha1', true); }}} -- Lep pozdrav, Tilen Majerle http://majerle.eu 2011/2/22 Marne <ma...@webnmore.com.au> > Hi guys, newby here and the first time with CAKEPHP > > We have a site using cake and are having problems with password > hashing, on the customer/user registration page when the register the > password is not hashed when sent to the DB, therefor not allowing the > customer/user to log in. When logged in and you change the password it > is hashed but the validate pw is not being utilsed and should be. We > have an administrators back-end and creating and changing passwords is > fine for the administrators, but we have no ability to reset the > customer passwords. > > Im just just wondering if there are any developers out there that > would like a small job and maybe a continuing one to finish developing > this site, if you would mind taking a look and advising us of the > problem. We are happy to pay for your time. Thanks a million in > advanced for your help. > > -- > 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+unsubscr...@googlegroups.com 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 cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php