From 5af847d6a61f788f40b3e2247cfe5ee6df8e3c07 Mon Sep 17 00:00:00 2001 From: Christian Scheb Date: Tue, 13 Mar 2018 22:27:46 +0100 Subject: [PATCH] Add recipe for scheb/two-factor-bundle --- .../3.16/config/packages/scheb_two_factor.yaml | 6 ++++++ .../3.16/config/routes/scheb_two_factor.yaml | 7 +++++++ scheb/two-factor-bundle/3.16/manifest.json | 8 ++++++++ 3 files changed, 21 insertions(+) create mode 100644 scheb/two-factor-bundle/3.16/config/packages/scheb_two_factor.yaml create mode 100644 scheb/two-factor-bundle/3.16/config/routes/scheb_two_factor.yaml create mode 100644 scheb/two-factor-bundle/3.16/manifest.json 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%/" + } +}