Selaa lähdekoodia

[Form] Added clearer error message for CSRF errors

Bernhard Schussek 14 vuotta sitten
vanhempi
commit
f589304fe3
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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>