Refactor routes for consistency, update season codes, and add Justfile for Docker commands

This commit is contained in:
2025-04-02 22:10:30 +02:00
parent acf5c06fcc
commit 31e6ed406b
17 changed files with 652 additions and 731 deletions

View File

@@ -11,7 +11,7 @@ use Symfony\Component\Security\Http\Authentication\AuthenticationUtils;
class LoginController extends AbstractController
{
#[Route(path: '/login', name: 'app_login')]
#[Route(path: '/login', name: 'app_login_login')]
public function login(AuthenticationUtils $authenticationUtils): Response
{
// get the login error if there is one
@@ -26,7 +26,7 @@ class LoginController extends AbstractController
]);
}
#[Route(path: '/logout', name: 'app_logout')]
#[Route(path: '/logout', name: 'app_login_logout')]
public function logout(): void
{
throw new \LogicException('This method can be blank - it will be intercepted by the logout key on your firewall.');