Skip to content

Commit 1efe361

Browse files
committed
minor #18838 Modify method on route logout in security.rst (rschillinger)
This PR was submitted for the 6.3 branch but it was merged into the 5.4 branch instead. Discussion ---------- Modify method on route logout in security.rst There is an error regarding the method of the logout route in the controller. Commits ------- a156c31 Modify method on route logout in security.rst
2 parents 428e2e4 + a156c31 commit 1efe361

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)