> If I enter an invalid password on the form, then it does validate it
> correctly and displays the error message but the new address becomes:
> example.com/user/resetPassword/45
> and it truncates the password parameter and then it no longer
> functions like it should.
Just a guess, but are you passing the auto-generated password to the
view when validation fails, so that it can be used in your form's
action attribute when re-POSTing another attempt at a new password?
--~--~---------~--~----~------------~-------~--~----~
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