Skip to content

Commit 485a0c3

Browse files
committed
docs: replace deprecated Config\App.CSRFCookieName
1 parent 045c6ea commit 485a0c3

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

user_guide_src/source/general/configuration.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ the configuration class properties are left unchanged. In this usage, the prefix
165165
the full (case-sensitive) namespace of the class.
166166
::
167167

168-
Config\App.CSRFCookieName = csrf_cookie
168+
Config\App.forceGlobalSecureRequests = true
169169
Config\App.CSPEnabled = true
170170

171171

@@ -176,15 +176,15 @@ the configuration class name. If the short prefix matches the class name,
176176
the value from **.env** replaces the configuration file value.
177177
::
178178

179-
app.CSRFCookieName = csrf_cookie
179+
app.forceGlobalSecureRequests = true
180180
app.CSPEnabled = true
181181

182182
.. note:: When using the *short prefix* the property names must still exactly match the class defined name.
183183

184184
Some environments do not permit variable name with dots. In such case, you could also use ``_`` as a seperator.
185185
::
186186

187-
app_CSRFCookieName = csrf_cookie
187+
app_forceGlobalSecureRequests = true
188188
app_CSPEnabled = true
189189

190190
Environment Variables as Replacements for Data

0 commit comments

Comments
 (0)