8000 [Form] Added clearer error message for CSRF errors · wowo/symfony@f589304 · GitHub
[go: up one dir, main page]

Skip to content

Commit f589304

Browse files
Bernhard Schussekfabpot
authored andcommitted
[Form] Added clearer error message for CSRF errors
1 parent 3485999 commit f589304

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Form/Resources/config/validation.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
</getter>
3030
<getter property="csrfTokenValid">
3131
<constraint name="AssertTrue">
32-
<option name="message">The CSRF token is invalid</option>
32+
<option name="message">The CSRF token is invalid. Please try to resubmit the form</option>
3333
</constraint>
3434
</getter>
3535
</class>

0 commit comments

Comments
 (0)
0