El 24/09/2008, a las 9:31, mario escribió:
> So in this case,
> $this->Auth->login($this->data); // login user
I think you have the plain version of the password in password2 field.
You could do some like:
if ($this->User->save($this->data)) {
$this->data['User']['password'] = $this->data['User']['password2'];
$this->Auth->login($this->data); // login user
}
--
Fran Iglesias
[EMAIL PROTECTED]
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---