Skip to content

Commit b9ea6da

Browse files
authored
Merge pull request #1045 from scheb/2fa-bundle-v6
Recipe files for scheb/2fa-bundle v6
2 parents 4c32493 + 5b06a3c commit b9ea6da

File tree

4 files changed

+22
-1
lines changed

4 files changed

+22
-1
lines changed

scheb/2fa-bundle/5.0/config/packages/scheb_2fa.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# See the configuration reference at https://github.com/scheb/2fa/blob/master/doc/configuration.md
1+
# See the configuration reference at https://symfony.com/bundles/SchebTwoFactorBundle/5.x/configuration.html
22
scheb_two_factor:
33
security_tokens:
44
- Symfony\Component\Security\Core\Authentication\Token\UsernamePasswordToken
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)