On Fri, Jun 20, 2008 at 11:57 AM, Siebren Bakker
<[EMAIL PROTECTED]> wrote:
> 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.

If you use the Auth component, the password is automatically hashed
when you create a new record in your User table.  Any reason why
you're not using it (this is a trick question)?

-- 
Chris Hartjes
Internet Loudmouth
Motto for 2008: "Moving from herding elephants to handling snakes..."
@TheKeyBoard: http://www.littlehart.net/atthekeyboard

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