]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - src/Wallabag/UserBundle/Resources/config/services.yml
Use FOSUserEvents instead of c/p a controller
[github/wallabag/wallabag.git] / src / Wallabag / UserBundle / Resources / config / services.yml
index 93e04d59253e23c6cc50c675a55ba06839f275b8..bf9e036ae64a9b1dea8997afe1e3168486cfc596 100644 (file)
@@ -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 }