Hiya all
Weird problem here - in my users/edit function i have a form for updating
your user information
If you submit the form with a blank password (so the user is not changing
their password) then cake decides to change the password anyways!
I have tried fixing it in my own code but nothing seems to work:
if (! $this->data['User']['password']) {
unset($this->data['User']['password']);
}
but that doesnt work because cake hashes the (blank) password before it even
reaches the function
any ideas why its doing this?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---