aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/UserBundle/Resources/config
diff options
context:
space:
mode:
authorJeremy Benoist <jeremy.benoist@gmail.com>2016-01-21 16:39:13 +0100
committerJeremy Benoist <jeremy.benoist@gmail.com>2016-01-21 16:39:13 +0100
commit0f0e8eb82a3374e20453fb1f8046325ee306b036 (patch)
tree4570046b6aa6b29c5ac0fd9289b433d80e69c207 /src/Wallabag/UserBundle/Resources/config
parenta0d6ccc5ca0dc0082467cc65b006150aff2488c4 (diff)
downloadwallabag-0f0e8eb82a3374e20453fb1f8046325ee306b036.tar.gz
wallabag-0f0e8eb82a3374e20453fb1f8046325ee306b036.tar.zst
wallabag-0f0e8eb82a3374e20453fb1f8046325ee306b036.zip
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.
Diffstat (limited to 'src/Wallabag/UserBundle/Resources/config')
-rw-r--r--src/Wallabag/UserBundle/Resources/config/services.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/Wallabag/UserBundle/Resources/config/services.yml b/src/Wallabag/UserBundle/Resources/config/services.yml
index 93e04d59..bf9e036a 100644
--- a/src/Wallabag/UserBundle/Resources/config/services.yml
+++ b/src/Wallabag/UserBundle/Resources/config/services.yml
@@ -8,3 +8,10 @@ services:
8 - "%scheb_two_factor.email.sender_name%" 8 - "%scheb_two_factor.email.sender_name%"
9 - "%wallabag_support_url%" 9 - "%wallabag_support_url%"
10 - "%wallabag_url%" 10 - "%wallabag_url%"
11
12 wallabag_user.password_resetting:
13 class: Wallabag\UserBundle\EventListener\PasswordResettingListener
14 arguments:
15 - "@router"
16 tags:
17 - { name: kernel.event_subscriber }