Skip to content

Commit 5b06a3c

Browse files
committed
Add configuration files for scheb/2fa-bundle v6
1 parent bf00639 commit 5b06a3c

File tree

3 files changed

+21
-0
lines changed

3 files changed

+21
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# See the configuration reference at https://symfony.com/bundles/SchebTwoFactorBundle/6.x/configuration.html
2+
scheb_two_factor:
3+
security_tokens:
4+
- Symfony\Component\Security\Core\Authentication\Token\UsernamePasswordToken
5+
- Symfony\Component\Security\Http\Authenticator\Token\PostAuthenticationToken
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
2fa_login:
2+
path: /2fa
3+
defaults:
4+
_controller: "scheb_two_factor.form_controller:form"
5+
6+
2fa_login_check:
7+
path: /2fa_check

scheb/2fa-bundle/6.0/manifest.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"bundles": {
3+
"Scheb\\TwoFactorBundle\\SchebTwoFactorBundle": ["all"]
4+
},
5+
"copy-from-recipe": {
6+
"config/": "%CONFIG_DIR%/"
7+
},
8+
"aliases": ["2fa"]
9+
}

0 commit comments

Comments
 (0)