Auth hashes the password automatically. On Fri, May 8, 2009 at 11:39 PM, carlito <[email protected]> wrote: > > I m using auth component in my project.In my beforesave() function in > user.php i used this to hash password. > > if(isset($this->data[$this->alias]['password'])) > $this->data[$this->alias]['password'] = Security::hash($this->data > [$this->alias]['password'], null, true); > > > But it login error still remains. I think i need to hash the password > i give as input. If that's right then how to do it?? > > > >
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
