File tree 3 files changed +3
-4
lines changed
Filter options
3 files changed +3
-4
lines changed
Original file line number Diff line number Diff line change @@ -189,7 +189,7 @@ That's it! Just three lines are needed to render the complete form:
189
189
Renders the end tag of the form and any fields that have not
190
190
yet been rendered, in case you rendered each field yourself. This is useful
191
191
for rendering hidden fields and taking advantage of the automatic
192
- :doc: `CSRF Protection </form/csrf_protection >`.
192
+ :doc: `CSRF Protection </security/csrf >`.
193
193
194
194
.. seealso ::
195
195
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ If you know for sure that the backend never uses sessions or basic
62
62
authentication, have Varnish remove the corresponding header from requests to
63
63
prevent clients from bypassing the cache. In practice, you will need sessions
64
64
at least for some parts of the site, e.g. when using forms with
65
- :doc: `CSRF Protection </form/csrf_protection >`. In this situation, make sure to
65
+ :doc: `CSRF Protection </security/csrf >`. In this situation, make sure to
66
66
:doc: `only start a session when actually needed </session/avoid_session_start >`
67
67
and clear the session when it is no longer needed. Alternatively, you can look
68
68
into :doc: `/http_cache/form_csrf_caching `.
Original file line number Diff line number Diff line change @@ -243,8 +243,7 @@ The form can look like anything, but it usually follows some conventions:
243
243
.. caution ::
244
244
245
245
This login form is currently not protected against CSRF attacks. Read
246
- :doc: `/security/csrf_in_login_form ` on how to protect your login
247
- form.
246
+ :doc: `/security/csrf ` on how to protect your login form.
248
247
249
248
And that's it! When you submit the form, the security system will automatically
250
249
check the user's credentials and either authenticate the user or send the
You can’t perform that action at this time.
0 commit comments