From 3ed9a3ee5d71934cf9881a1434f7c3a1623feef5 Mon Sep 17 00:00:00 2001 From: b1ek Date: Thu, 3 Oct 2024 21:08:26 +1000 Subject: [PATCH] fix: routes --- src/Controller/SecurityController.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Controller/SecurityController.php b/src/Controller/SecurityController.php index 65c096f..9ed1922 100644 --- a/src/Controller/SecurityController.php +++ b/src/Controller/SecurityController.php @@ -12,6 +12,7 @@ class SecurityController extends AbstractController /** * @Route("/login", name="app_login") */ + #[Route('/login', name: 'app_login')] public function login(AuthenticationUtils $authenticationUtils): Response { // if ($this->getUser()) { @@ -29,6 +30,7 @@ class SecurityController extends AbstractController /** * @Route("/logout", name="app_logout") */ + #[Route('/logout', name: 'app_logout')] public function logout(): void { throw new \LogicException('This method can be blank - it will be intercepted by the logout key on your firewall.');