]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - src/Wallabag/UserBundle/Resources/config/services.yml
Log an error level message when user auth fail
[github/wallabag/wallabag.git] / src / Wallabag / UserBundle / Resources / config / services.yml
index 72f6f12c1bb5f47c4191977ae41bb77af17c8f73..6ab463e36a39b06ce53faa611a93102ea7b7ca9d 100644 (file)
@@ -35,3 +35,11 @@ services:
             - "%wallabag_core.list_mode%"
         tags:
             - { name: kernel.event_subscriber }
+
+    wallabag_user.security.custom_auth_failure_handler:
+        class: Wallabag\UserBundle\Security\CustomAuthenticationFailureHandler
+        arguments:
+            - "@http_kernel"
+            - "@security.http_utils"
+            - {  }
+            - "@logger"