Skip to content

Commit c580953

Browse files
committed
Fix XML config example
1 parent 8066c1b commit c580953

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

security/csrf.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ Globally, you can configure it under the ``framework.form`` option:
113113
114114
<framework:config>
115115
<framework:form>
116-
<framework:csrf-protection enabled="true" field_name="custom_token_name"/>
116+
<framework:csrf-protection enabled="true" field-name="custom_token_name"/>
117117
</framework:form>
118118
</framework:config>
119119
</container>

0 commit comments

Comments
 (0)