Unfortunately, cake does not seem to hash the password automatically, at
least as far as I've been able to find. This is of course for a
User.password type field, which cake automatically sets as a password-text
input, right? I've had to do all my hashing manually. If this functionality
could be added, it would cut out a decent amount of code scattered around my
controllers from it.

In the name of Life, Liberty, and the pursuit of my sanity.
Siebren Bakker(Aevum Decessus)

On Fri, Jun 20, 2008 at 10:22, leo <[EMAIL PROTECTED]> wrote:

>
> When I create a user, the password is hashed correctly and I can log
> in with that user.
>
> If I then edit the same user to change the password, the password
> isn't hashed, but stored as plain text so I can no longer login with
> that user (as the password I enter at the login is internally hashed).
>
> Am I missing something here? Does cake not automatically hash the
> password when the record is updated?
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to