into a problem however in that my password data is getting hashed
before validation. So my validation isn't working correctly when
adding or editing a user.
I made certain that I'm not applying the hash myself and discovered
that it is AuthComponent. In the auth startup, there's this line:
$this->data = $controller->data = $this->hashPasswords($controller-
>data);
This is interfering with my validation and I'm not sure what to do. I
can think of a couple ways to get around this (ie change the name of
my password field, or don't use $this->data when adding or editing
user data), but I'd really like to know the 'proper' way to go about
this.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---
No comments:
Post a Comment