It seems that the checkPasswords function isn't the problem at all. If
I do this:
function checkPasswords($data) {
return true;
}
I still get the "Entered passwords does not match" error.
But what could case that? Are my password validation rules wrong
formatted?
'password' => array(
'notEmpty' => array(
'rule' => array('minLength', 6),
'required' => true,
'allowEmpty' => false,
'message' => 'Password has to be at least 6 characters long'
),
'passwordSimilar' => array(
'rule' => 'checkPasswords',
'message' => 'Entered passwords does not match'
)
),
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---