From 28d24619a93150e481f91e8755ec1bd8fb2980e3 Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Tue, 30 Mar 2021 22:03:57 +0200 Subject: [PATCH] fix 2fa authentication --- config/packages/scheb_2fa.yaml | 2 +- core/Resources/views/auth/2fa.html.twig | 9 ++------- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/config/packages/scheb_2fa.yaml b/config/packages/scheb_2fa.yaml index 7ab6661..119eac5 100644 --- a/config/packages/scheb_2fa.yaml +++ b/config/packages/scheb_2fa.yaml @@ -6,7 +6,7 @@ scheb_two_factor: server_name: digits: 6 window: 1 - template: auth/2fa.html.twig + template: "@Core/auth/2fa.html.twig" security_tokens: - Symfony\Component\Security\Core\Authentication\Token\UsernamePasswordToken # If you're using guard-based authentication, you have to use this one: diff --git a/core/Resources/views/auth/2fa.html.twig b/core/Resources/views/auth/2fa.html.twig index 0119651..d6d2768 100644 --- a/core/Resources/views/auth/2fa.html.twig +++ b/core/Resources/views/auth/2fa.html.twig @@ -4,7 +4,7 @@ {{ include('@Core/admin/module/metas.html.twig') }} - {% block title %}{{ 'Authentication'|trans }} - {{ site_name }}{% endblock %} + {% block title %}{{ 'Authentication'|trans }}{% endblock %} {% block css %} {{ encore_entry_link_tags('admin') }} @@ -13,7 +13,7 @@
-
+
-
-
- -
-