Skip to content

Commit 6e7973f

Browse files
jameshalsallfabpot
authored andcommitted
[Form] Skip CSRF validation on form when POST max size is exceeded
1 parent 132e4c2 commit 6e7973f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Resources/config/form_csrf.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
<argument>%form.type_extension.csrf.field_name%</argument>
1717
<argument type="service" id="translator.default" />
1818
<argument>%validator.translation_domain%</argument>
19+
<argument type="service" id="form.server_params" />
1920
</service>
2021
</services>
2122
</container>

0 commit comments

Comments
 (0)