From 5b06a3c4d2577042356d9bdca67f76de44f2c07b Mon Sep 17 00:00:00 2001 From: Christian Scheb Date: Wed, 29 Dec 2021 18:51:13 +0100 Subject: [PATCH] Add configuration files for scheb/2fa-bundle v6 --- scheb/2fa-bundle/6.0/config/packages/scheb_2fa.yaml | 5 +++++ scheb/2fa-bundle/6.0/config/routes/scheb_2fa.yaml | 7 +++++++ scheb/2fa-bundle/6.0/manifest.json | 9 +++++++++ 3 files changed, 21 insertions(+) create mode 100644 scheb/2fa-bundle/6.0/config/packages/scheb_2fa.yaml create mode 100644 scheb/2fa-bundle/6.0/config/routes/scheb_2fa.yaml create mode 100644 scheb/2fa-bundle/6.0/manifest.json diff --git a/scheb/2fa-bundle/6.0/config/packages/scheb_2fa.yaml b/scheb/2fa-bundle/6.0/config/packages/scheb_2fa.yaml new file mode 100644 index 00000000..8a33ebb0 --- /dev/null +++ b/scheb/2fa-bundle/6.0/config/packages/scheb_2fa.yaml @@ -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 diff --git a/scheb/2fa-bundle/6.0/config/routes/scheb_2fa.yaml b/scheb/2fa-bundle/6.0/config/routes/scheb_2fa.yaml new file mode 100644 index 00000000..b574a0c9 --- /dev/null +++ b/scheb/2fa-bundle/6.0/config/routes/scheb_2fa.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/2fa-bundle/6.0/manifest.json b/scheb/2fa-bundle/6.0/manifest.json new file mode 100644 index 00000000..5ef9bb2f --- /dev/null +++ b/scheb/2fa-bundle/6.0/manifest.json @@ -0,0 +1,9 @@ +{ + "bundles": { + "Scheb\\TwoFactorBundle\\SchebTwoFactorBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "aliases": ["2fa"] +}