Skip to content

Commit 9173ac9

Browse files
committed
Fixed some internal references
1 parent 187c836 commit 9173ac9

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

forms.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ That's it! Just three lines are needed to render the complete form:
189189
Renders the end tag of the form and any fields that have not
190190
yet been rendered, in case you rendered each field yourself. This is useful
191191
for rendering hidden fields and taking advantage of the automatic
192-
:doc:`CSRF Protection </form/csrf_protection>`.
192+
:doc:`CSRF Protection </security/csrf>`.
193193

194194
.. seealso::
195195

http_cache/varnish.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ If you know for sure that the backend never uses sessions or basic
6262
authentication, have Varnish remove the corresponding header from requests to
6363
prevent clients from bypassing the cache. In practice, you will need sessions
6464
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
6666
:doc:`only start a session when actually needed </session/avoid_session_start>`
6767
and clear the session when it is no longer needed. Alternatively, you can look
6868
into :doc:`/http_cache/form_csrf_caching`.

security/form_login_setup.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,8 +243,7 @@ The form can look like anything, but it usually follows some conventions:
243243
.. caution::
244244

245245
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.
248247

249248
And that's it! When you submit the form, the security system will automatically
250249
check the user's credentials and either authenticate the user or send the

0 commit comments

Comments
 (0)