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