Renamed security template folder to recommended snake_case style

This commit is contained in:
Jan Böhmer 2023-02-04 22:59:43 +01:00
parent dd5691f199
commit 5696f32a04
6 changed files with 3 additions and 3 deletions

View file

@ -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%'

View file

@ -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,
]);
}

View file

@ -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(),
]