Well I got it working with sellotape, by forcing the hashing of the
password:
$this->data['User']['password'] =
Security::hash(Configure::read('Security.salt').$this->data['User']
['password1']);
I'm not really happy about having to do this as I would have thought
the hash would be integral to the component, but I've lost two hours
to this now and I have to move on...
On 20 Juny, 18:08, leo <[EMAIL PROTECTED]> wrote:
> @Chris
>
> > Any reason why you're not using it (this is a trick question)?
>
> I am.
>
> > If you use the Auth component, the password is automatically hashed
> > when you create a new record in your User table.
>
> It works ticketyboo when inserting a _new_ record. It ticketydoesn't
> when you then edit that record.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---