DavertMik / doAuthPlugin

Symfony new authentication / user managemant system
MIT License
19 stars 6 forks source link

Error in Password Reset Process #2

Closed chess-server closed 14 years ago

chess-server commented 14 years ago

In doAuthActions, executeResetPassword binds the array called 'password_reset' to the ResetPasswordForm(), while in BaseResetPasswordForm.class.php the array is called 'reset_password'. Therefore the form is never valid.

Please change doAuthActions to 'reset_password' as this is inline with the name of the form.

Further, the routine checks if ($request->hasParameter('user'), but the parameter is 'username'

doAuthMailer is expecting a sfController, but gets a doAuthActions instance instead.

DavertMik commented 14 years ago

The password_reset emails generates link where paremter is 'user'

and what about sfController? What do you mean?