diff --git a/config/packages/twig.yaml b/config/packages/twig.yaml index 3f795d9..0b0ddbe 100644 --- a/config/packages/twig.yaml +++ b/config/packages/twig.yaml @@ -1,5 +1,6 @@ twig: file_name_pattern: '*.twig' + form_themes: ['bootstrap_5_layout.html.twig'] when@test: twig: diff --git a/src/Controller/LoginController.php b/src/Controller/LoginController.php deleted file mode 100644 index ba8f478..0000000 --- a/src/Controller/LoginController.php +++ /dev/null @@ -1,27 +0,0 @@ -getLastAuthenticationError(); - - // last username entered by the user - $lastUsername = $authenticationUtils->getLastUsername(); - - return $this->render('login/index.html.twig', [ - 'last_username' => $lastUsername, - 'error' => $error, - ]); - - } -} diff --git a/templates/base.html.twig b/templates/base.html.twig index 233148c..3aac3b0 100644 --- a/templates/base.html.twig +++ b/templates/base.html.twig @@ -3,8 +3,9 @@