Skip to content

Commit a156c31

Browse files
rschillingerjaviereguiluz
authored andcommitted
Modify method on route logout in security.rst
1 parent 428e2e4 commit a156c31

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
@@ -1705,7 +1705,7 @@ Next, you need to create a route for this URL (but not a controller):
17051705
17061706
class SecurityController extends AbstractController
17071707
{
1708-
#[Route('/logout', name: 'app_logout', methods: ['POST'])]
1708+
#[Route('/logout', name: 'app_logout', methods: ['GET'])]
17091709
public function logout()
17101710
{
17111711
// controller can be blank: it will never be called!

0 commit comments

Comments
 (0)