update conf for Symfony 6
This commit is contained in:
parent
a2823e101a
commit
32c6d5b170
@ -15,7 +15,8 @@ class TrackMania extends AbstractController
|
||||
*/
|
||||
#[Route(
|
||||
'/connect/trackmania',
|
||||
name: 'connect_trackmania_start'
|
||||
name: 'connect_trackmania_start',
|
||||
priority: 10
|
||||
)]
|
||||
public function connectAction(ClientRegistry $clientRegistry)
|
||||
{
|
||||
@ -32,7 +33,8 @@ class TrackMania extends AbstractController
|
||||
*/
|
||||
#[Route(
|
||||
'/connect/trackmania/check',
|
||||
name: 'connect_trackmania_check'
|
||||
name: 'connect_trackmania_check',
|
||||
priority: 10
|
||||
)]
|
||||
public function connectCheckAction(Request $request, ClientRegistry $clientRegistry)
|
||||
{
|
||||
@ -43,6 +45,7 @@ class TrackMania extends AbstractController
|
||||
#[Route(
|
||||
'/login',
|
||||
name: 'app_login',
|
||||
priority: 10,
|
||||
methods: ['GET', 'HEAD']
|
||||
)]
|
||||
public function login(Request $request, RequestStack $requestStack): RedirectResponse
|
||||
@ -56,12 +59,10 @@ class TrackMania extends AbstractController
|
||||
return $this->redirectToRoute('connect_trackmania_start');
|
||||
}
|
||||
|
||||
/**
|
||||
* @Route("/logout", name="app_logout", methods={"GET"})
|
||||
*/
|
||||
#[Route(
|
||||
'/logout',
|
||||
name: 'app_logout',
|
||||
priority: 10,
|
||||
methods: ['GET', 'HEAD']
|
||||
)]
|
||||
public function logout(): void
|
||||
|
Loading…
Reference in New Issue
Block a user