diff --git a/config/packages/webauthn_2fa.yaml b/config/packages/webauthn_2fa.yaml index 9a177105..69aca5c6 100644 --- a/config/packages/webauthn_2fa.yaml +++ b/config/packages/webauthn_2fa.yaml @@ -1,5 +1,5 @@ tfa_webauthn: enabled: true - template: security/Webauthn/webauthn_login.html.twig + template: security/webauthn/webauthn_login.html.twig rpName: '%partdb.title%' diff --git a/src/Controller/StatisticsController.php b/src/Controller/StatisticsController.php index 03febae2..d9c467f4 100644 --- a/src/Controller/StatisticsController.php +++ b/src/Controller/StatisticsController.php @@ -55,7 +55,7 @@ class StatisticsController extends AbstractController { $this->denyAccessUnlessGranted('@tools.statistics'); - return $this->render('/Statistics/statistics.html.twig', [ + return $this->render('tools/statistics/statistics.html.twig', [ 'helper' => $helper, ]); } diff --git a/src/Controller/WebauthnKeyRegistrationController.php b/src/Controller/WebauthnKeyRegistrationController.php index af3f5313..c60f8e94 100644 --- a/src/Controller/WebauthnKeyRegistrationController.php +++ b/src/Controller/WebauthnKeyRegistrationController.php @@ -71,7 +71,7 @@ class WebauthnKeyRegistrationController extends AbstractController return $this->render( - 'security/Webauthn/webauthn_register.html.twig', + 'security/webauthn/webauthn_register.html.twig', [ 'registrationRequest' => $registrationHelper->generateRegistrationRequestAsJSON(), ] diff --git a/templates/security/Webauthn/webauthn_login.html.twig b/templates/security/webauthn/webauthn_login.html.twig similarity index 100% rename from templates/security/Webauthn/webauthn_login.html.twig rename to templates/security/webauthn/webauthn_login.html.twig diff --git a/templates/security/Webauthn/webauthn_register.html.twig b/templates/security/webauthn/webauthn_register.html.twig similarity index 100% rename from templates/security/Webauthn/webauthn_register.html.twig rename to templates/security/webauthn/webauthn_register.html.twig diff --git a/templates/Statistics/statistics.html.twig b/templates/tools/statistics/statistics.html.twig similarity index 100% rename from templates/Statistics/statistics.html.twig rename to templates/tools/statistics/statistics.html.twig