diff options
author | Jérémy Benoist <j0k3r@users.noreply.github.com> | 2017-06-09 11:05:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-09 11:05:34 +0200 |
commit | 5c762616c378d20b96eda0f0727eb4c760d4119d (patch) | |
tree | 086049b73cf8d547f18c28963a60f36c5679cfcc /src/Wallabag/UserBundle/Resources | |
parent | 3f474025d889c3eff20b481f005f4d292f1ef29d (diff) | |
parent | f81a34e37929a822755d120215d2f18f042ff713 (diff) | |
download | wallabag-5c762616c378d20b96eda0f0727eb4c760d4119d.tar.gz wallabag-5c762616c378d20b96eda0f0727eb4c760d4119d.tar.zst wallabag-5c762616c378d20b96eda0f0727eb4c760d4119d.zip |
Merge pull request #3195 from wallabag/authentication-error
Log an error level message when user auth fail
Diffstat (limited to 'src/Wallabag/UserBundle/Resources')
-rw-r--r-- | src/Wallabag/UserBundle/Resources/config/services.yml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/Wallabag/UserBundle/Resources/config/services.yml b/src/Wallabag/UserBundle/Resources/config/services.yml index 72f6f12c..f2cd6e01 100644 --- a/src/Wallabag/UserBundle/Resources/config/services.yml +++ b/src/Wallabag/UserBundle/Resources/config/services.yml | |||
@@ -35,3 +35,11 @@ services: | |||
35 | - "%wallabag_core.list_mode%" | 35 | - "%wallabag_core.list_mode%" |
36 | tags: | 36 | tags: |
37 | - { name: kernel.event_subscriber } | 37 | - { name: kernel.event_subscriber } |
38 | |||
39 | wallabag_user.listener.authentication_failure_event_listener: | ||
40 | class: Wallabag\UserBundle\EventListener\AuthenticationFailureListener | ||
41 | arguments: | ||
42 | - "@request_stack" | ||
43 | - "@logger" | ||
44 | tags: | ||
45 | - { name: kernel.event_listener, event: security.authentication.failure, method: onAuthenticationFailure } | ||