Skip to content

Commit b694cb3

Browse files
committed
Merge pull request #1103 from kbond/patch-1
Enforce POST for /login_check
2 parents b77fc8b + 5cab233 commit b694cb3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Resources/config/routing/security.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
<route id="fos_user_security_check" pattern="/login_check">
1212
<default key="_controller">FOSUserBundle:Security:check</default>
13+
<requirement key="_method">POST</requirement>
1314
</route>
1415

1516
<route id="fos_user_security_logout" pattern="/logout">

0 commit comments

Comments
 (0)