Skip to content

Commit c3caf9f

Browse files
committed
Enforce POST for /login_check
1 parent 4f5e0d2 commit c3caf9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Resources/config/routing/security.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<default key="_controller">FOSUserBundle:Security:login</default>
99
</route>
1010

11-
<route id="fos_user_security_check" pattern="/login_check">
11+
<route id="fos_user_security_check" pattern="/login_check" methods="POST">
1212
<default key="_controller">FOSUserBundle:Security:check</default>
1313
</route>
1414

0 commit comments

Comments
 (0)