aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/UserBundle/Resources
diff options
context:
space:
mode:
authorJeremy Benoist <jeremy.benoist@gmail.com>2017-06-09 09:45:43 +0200
committerJeremy Benoist <jeremy.benoist@gmail.com>2017-06-09 09:45:43 +0200
commitf81a34e37929a822755d120215d2f18f042ff713 (patch)
tree086049b73cf8d547f18c28963a60f36c5679cfcc /src/Wallabag/UserBundle/Resources
parentfa1c9d7cc7f3c4d2f9167a5b62bbc8cd1f9df59b (diff)
downloadwallabag-f81a34e37929a822755d120215d2f18f042ff713.tar.gz
wallabag-f81a34e37929a822755d120215d2f18f042ff713.tar.zst
wallabag-f81a34e37929a822755d120215d2f18f042ff713.zip
Use a listener to catch auth failure
Diffstat (limited to 'src/Wallabag/UserBundle/Resources')
-rw-r--r--src/Wallabag/UserBundle/Resources/config/services.yml10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/Wallabag/UserBundle/Resources/config/services.yml b/src/Wallabag/UserBundle/Resources/config/services.yml
index 6ab463e3..f2cd6e01 100644
--- a/src/Wallabag/UserBundle/Resources/config/services.yml
+++ b/src/Wallabag/UserBundle/Resources/config/services.yml
@@ -36,10 +36,10 @@ services:
36 tags: 36 tags:
37 - { name: kernel.event_subscriber } 37 - { name: kernel.event_subscriber }
38 38
39 wallabag_user.security.custom_auth_failure_handler: 39 wallabag_user.listener.authentication_failure_event_listener:
40 class: Wallabag\UserBundle\Security\CustomAuthenticationFailureHandler 40 class: Wallabag\UserBundle\EventListener\AuthenticationFailureListener
41 arguments: 41 arguments:
42 - "@http_kernel" 42 - "@request_stack"
43 - "@security.http_utils"
44 - { }
45 - "@logger" 43 - "@logger"
44 tags:
45 - { name: kernel.event_listener, event: security.authentication.failure, method: onAuthenticationFailure }