Explorar o código

[Form] Added clearer error message for CSRF errors

Bernhard Schussek %!s(int64=14) %!d(string=hai) anos
pai
achega
f589304fe3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/Symfony/Component/Form/Resources/config/validation.xml

+ 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>