Open
Description
Symfony FOSUserBundle versions:
2.0.*
Description of the problem including expected versus actual behavior:
I need catch event when user want reset password with bad email or before 2 hours than the first trying
Steps to reproduce:
- Reset password with existing email ( or not but don't do step 2 )
- Do step 1 again ( less 2 hours before )
Provide logs (if relevant):
Describe the feature:
vendor/friendsofsymfony/user-bundle/Controller/ResettingController.php
if (null !== $user && !$user->isPasswordRequestNonExpired($ttl)) {
....
}
We can have else like $dispatcher->dispatch(FOSUserEvents::RESETTING_FORM_ERROR, $event);
Metadata
Metadata
Assignees
Labels
No labels