diff --git a/scheb/two-factor-bundle/3.16/config/packages/scheb_two_factor.yaml b/scheb/two-factor-bundle/3.16/config/packages/scheb_two_factor.yaml new file mode 100644 index 00000000..26e196a3 --- /dev/null +++ b/scheb/two-factor-bundle/3.16/config/packages/scheb_two_factor.yaml @@ -0,0 +1,6 @@ +# See the configuration reference at https://github.com/scheb/two-factor-bundle/blob/master/Resources/doc/configuration.md +scheb_two_factor: + security_tokens: + - Symfony\Component\Security\Core\Authentication\Token\UsernamePasswordToken + # If you're using guard-based authentication, you have to use this one: + # - Symfony\Component\Security\Guard\Token\PostAuthenticationGuardToken diff --git a/scheb/two-factor-bundle/3.16/config/routes/scheb_two_factor.yaml b/scheb/two-factor-bundle/3.16/config/routes/scheb_two_factor.yaml new file mode 100644 index 00000000..b574a0c9 --- /dev/null +++ b/scheb/two-factor-bundle/3.16/config/routes/scheb_two_factor.yaml @@ -0,0 +1,7 @@ +2fa_login: + path: /2fa + defaults: + _controller: "scheb_two_factor.form_controller:form" + +2fa_login_check: + path: /2fa_check diff --git a/scheb/two-factor-bundle/3.16/manifest.json b/scheb/two-factor-bundle/3.16/manifest.json new file mode 100644 index 00000000..f9204ee8 --- /dev/null +++ b/scheb/two-factor-bundle/3.16/manifest.json @@ -0,0 +1,8 @@ +{ + "bundles": { + "Scheb\\TwoFactorBundle\\SchebTwoFactorBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + } +}