- Issue created by @davidpetit
- Merge request !5#3487126 add route user.reset.login in event subcriber → (Open) created by davidpetit
If the website send the link "[user:one-time-login-url]/login" in the reset pass email configuration, this is not the route "user.reset" but the route "user.reset.login" that is used.
In this particular case, the module "shy on time" does not work.
Change the following condition in the event subsriber:
if ($request->attributes->get('_route') === 'user.reset')
With:
if ($request->attributes->get('_route') === 'user.reset' || $request->attributes->get('_route') === 'user.reset.login' )
Active
2.0
Code