@@ -33,7 +33,7 @@ provider available in the Security component:
33
33
# ...
34
34
form_login :
35
35
# ...
36
- csrf_token_generator : security.csrf.token_manager
36
+ csrf_provider : security.csrf.token_manager
37
37
38
38
.. code-block :: xml
39
39
@@ -50,7 +50,7 @@ provider available in the Security component:
50
50
51
51
<firewall name =" secured_area" >
52
52
<!-- ... -->
53
- <form-login csrf-token-generator =" security.csrf.token_manager" />
53
+ <form-login csrf-provider =" security.csrf.token_manager" />
54
54
</firewall >
55
55
</config >
56
56
</srv : container >
@@ -66,7 +66,7 @@ provider available in the Security component:
66
66
// ...
67
67
'form_login' => array(
68
68
// ...
69
- 'csrf_token_generator ' => 'security.csrf.token_manager',
69
+ 'csrf_provider ' => 'security.csrf.token_manager',
70
70
),
71
71
),
72
72
),
@@ -122,7 +122,7 @@ After this, you have protected your login form against CSRF attacks.
122
122
.. tip ::
123
123
124
124
You can change the name of the field by setting ``csrf_parameter `` and change
125
- the token ID by setting ``csrf_token_id `` in your configuration:
125
+ the token ID by setting ``intention `` in your configuration:
126
126
127
127
.. configuration-block ::
128
128
@@ -138,7 +138,7 @@ After this, you have protected your login form against CSRF attacks.
138
138
form_login :
139
139
# ...
140
140
csrf_parameter : _csrf_security_token
141
- csrf_token_id : a_private_string
141
+ intention : a_private_string
142
142
143
143
.. code-block :: xml
144
144
@@ -156,7 +156,7 @@ After this, you have protected your login form against CSRF attacks.
156
156
<firewall name =" secured_area" >
157
157
<!-- ... -->
158
158
<form-login csrf-parameter =" _csrf_security_token"
159
- csrf-token-id =" a_private_string"
159
+ intention =" a_private_string"
160
160
/>
161
161
</firewall >
162
162
</config >
@@ -174,7 +174,7 @@ After this, you have protected your login form against CSRF attacks.
174
174
'form_login' => array(
175
175
// ...
176
176
'csrf_parameter' => '_csrf_security_token',
177
- 'csrf_token_id' => 'a_private_string'
177
+ 'intention' => 'a_private_string'
178
178
),
179
179
),
180
180
),
0 commit comments