Add configuration files for scheb/2fa-bundle v6

This commit is contained in:
Christian Scheb
2021-12-29 18:51:40 +01:00
parent bf00639be8
commit 5b06a3c4d2
3 changed files with 21 additions and 0 deletions
@@ -0,0 +1,5 @@
# See the configuration reference at https://symfony.com/bundles/SchebTwoFactorBundle/6.x/configuration.html
scheb_two_factor:
security_tokens:
- Symfony\Component\Security\Core\Authentication\Token\UsernamePasswordToken
- Symfony\Component\Security\Http\Authenticator\Token\PostAuthenticationToken
@@ -0,0 +1,7 @@
2fa_login:
path: /2fa
defaults:
_controller: "scheb_two_factor.form_controller:form"
2fa_login_check:
path: /2fa_check
+9
View File
@@ -0,0 +1,9 @@
{
"bundles": {
"Scheb\\TwoFactorBundle\\SchebTwoFactorBundle": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"aliases": ["2fa"]
}