forked from wallabag/wallabag
Use FOSUserEvents instead of c/p a controller
The `resetAction` was overriden to redirect user to the homepage instead of `fos_user_profile_show`. Instead of copying the whole method we can simply use FOSUserEvents to handle that.
This commit is contained in:
@ -8,3 +8,10 @@ services:
|
||||
- "%scheb_two_factor.email.sender_name%"
|
||||
- "%wallabag_support_url%"
|
||||
- "%wallabag_url%"
|
||||
|
||||
wallabag_user.password_resetting:
|
||||
class: Wallabag\UserBundle\EventListener\PasswordResettingListener
|
||||
arguments:
|
||||
- "@router"
|
||||
tags:
|
||||
- { name: kernel.event_subscriber }
|
||||
|
||||
Reference in New Issue
Block a user