diff options
Diffstat (limited to 'src/Wallabag/UserBundle/Resources')
-rw-r--r-- | src/Wallabag/UserBundle/Resources/config/services.yml | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/Wallabag/UserBundle/Resources/config/services.yml b/src/Wallabag/UserBundle/Resources/config/services.yml index 9cdd247d..e69de29b 100644 --- a/src/Wallabag/UserBundle/Resources/config/services.yml +++ b/src/Wallabag/UserBundle/Resources/config/services.yml | |||
@@ -1,19 +0,0 @@ | |||
1 | parameters: | ||
2 | wallabag_user.twofactor.email.provider.class: Wallabag\UserBundle\Security\TwoFactor\Email\Helper | ||
3 | wallabag_user.twofactor.email.interactive_login_listener.class: Wallabag\UserBundle\Security\TwoFactor\Email\InteractiveLoginListener | ||
4 | wallabag_user.twofactor.email.request_listener.class: Wallabag\UserBundle\Security\TwoFactor\Email\RequestListener | ||
5 | |||
6 | services: | ||
7 | wallabag_user.twofactor.email.provider: | ||
8 | class: %wallabag_user.twofactor.email.provider.class% | ||
9 | arguments: ['@doctrine.orm.entity_manager', '@mailer'] | ||
10 | wallabag_user.twofactor.email.interactive_login_listener: | ||
11 | class: %wallabag_user.twofactor.email.interactive_login_listener.class% | ||
12 | tags: | ||
13 | - { name: kernel.event_listener, event: security.interactive_login, method: onSecurityInteractiveLogin } | ||
14 | arguments: ['@wallabag_user.twofactor.email.provider'] | ||
15 | wallabag_user.twofactor.email.request_listener: | ||
16 | class: %wallabag_user.twofactor.email.request_listener.class% | ||
17 | tags: | ||
18 | - { name: kernel.event_listener, event: kernel.request, method: onCoreRequest, priority: -1 } | ||
19 | arguments: ['@wallabag_user.twofactor.email.provider', '@security.context', '@templating', '@router'] | ||