Преглед на файлове

[Form] Added clearer error message for CSRF errors

Bernhard Schussek преди 14 години
родител
ревизия
f589304fe3
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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>