You really need to provide a bit more information... But If you are satisfied that the data is being saved correctly to your database and the only symptom is that the password field is not hashed then the first things you should check are that everything is set up as in the documentation http://book.cakephp.org/view/172/Authentication: 1) In your user controller (or AppController) you should have the Auth component declared like this: var $components = array('Auth'); 2) Your user model should be 'User' (db table 'users' by default) and the password field 'password', unless you have specified them differently in controller beforeFilter with $this->Auth->userModel = 'customName' and $this->Auth->fields = array ('password'=>'anotherName')
Post the code from your controller & add view? On Aug 22, 4:59 am, Veoempleo <[email protected]> wrote: > Hello, > > I have a very simple form with username, name and password fields. But > the Auth component is saving the password field without hashing it. > > Why? Thank you in advantage --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
