Ver código fonte

[Form] Added clearer error message for CSRF errors

Bernhard Schussek 14 anos atrás
pai
commit
f589304fe3

+ 1 - 1
src/Symfony/Component/Form/Resources/config/validation.xml

@@ -29,7 +29,7 @@
     </getter>
     <getter property="csrfTokenValid">
       <constraint name="AssertTrue">
-        <option name="message">The CSRF token is invalid</option>
+        <option name="message">The CSRF token is invalid. Please try to resubmit the form</option>
       </constraint>
     </getter>
   </class>