FOSUserBundle icon indicating copy to clipboard operation
FOSUserBundle copied to clipboard

NEW FEATURE: Add new events FAILURE for Profile and ChangePassword forms validation

Open jjmonagas opened this issue 8 years ago • 0 comments

Symfony FOSUserBundle versions: v2.0.1

Describe the feature: Is it possible to add the same logic for invalid form request like in 'registrationAction()' in 'RegistrationController' but for 'ChangePasswordController' and 'ProfileController'?

Create these new FOSUserEvents and logic:

  • FOSUserEvents::PROFILE_EDIT_FAILURE
  • FOSUserEvents::CHANGE_PASSWORD_FAILURE

jjmonagas avatar Nov 08 '17 12:11 jjmonagas