diff options
author | Nicolas LÅ“uillet <nicolas.loeuillet@smile.fr> | 2015-10-14 17:10:12 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas.loeuillet@smile.fr> | 2015-10-14 17:10:12 +0200 |
commit | 0d6a7929e17c84052cbb3e494d5e5c195c24ca04 (patch) | |
tree | e14295a1adbedf7381cd7d66310fa96bfbeffcf3 /src/Wallabag/UserBundle/Resources/config | |
parent | 2db616b586f473238706e554e809086935e0f33a (diff) | |
download | wallabag-0d6a7929e17c84052cbb3e494d5e5c195c24ca04.tar.gz wallabag-0d6a7929e17c84052cbb3e494d5e5c195c24ca04.tar.zst wallabag-0d6a7929e17c84052cbb3e494d5e5c195c24ca04.zip |
add tests for 2factor authentication
Diffstat (limited to 'src/Wallabag/UserBundle/Resources/config')
-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'] | ||