Skip to content

Commit b7a807d

Browse files
authored
Modify method on route logout in security.rst
1 parent f05a2b3 commit b7a807d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

security.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1777,7 +1777,7 @@ Next, you need to create a route for this URL (but not a controller):
17771777
17781778
class SecurityController extends AbstractController
17791779
{
1780-
#[Route('/logout', name: 'app_logout', methods: ['POST'])]
1780+
#[Route('/logout', name: 'app_logout', methods: ['GET'])]
17811781
public function logout(): never
17821782
{
17831783
// controller can be blank: it will never be called!

0 commit comments

Comments
 (0)