From a156c316ce7177a798449502248733f55ab17d51 Mon Sep 17 00:00:00 2001 From: rschillinger <70899772+rschillinger@users.noreply.github.com> Date: Wed, 6 Sep 2023 17:32:48 +0200 Subject: [PATCH] Modify method on route logout in security.rst --- security.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/security.rst b/security.rst index 1299f2337b3..5e9d1393a79 100644 --- a/security.rst +++ b/security.rst @@ -1705,7 +1705,7 @@ Next, you need to create a route for this URL (but not a controller): class SecurityController extends AbstractController { - #[Route('/logout', name: 'app_logout', methods: ['POST'])] + #[Route('/logout', name: 'app_logout', methods: ['GET'])] public function logout() { // controller can be blank: it will never be called!