Skip to content

Commit 6188298

Browse files
michealweaverryan
micheal
authored andcommitted
Update csrf_in_login_form.rst
We want to protect against CSRF, not allow it. :)
1 parent 1adfd9b commit 6188298

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

cookbook/security/csrf_in_login_form.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
.. index::
2-
single: Security; CSRF in the Login Form
2+
single: Security; CSRF Protection in the Login Form
33

4-
Using CSRF in the Login Form
5-
============================
4+
Using CSRF Protection in the Login Form
5+
=======================================
66

77
When using a login form, you should make sure that you are protected against CSRF
88
(`Cross-site request forgery`_). The Security component already has built-in support
@@ -13,11 +13,11 @@ for CSRF. In this article you'll learn how you can use it in your login form.
1313
Login CSRF attacks are a bit less well-known. See `Forging Login Requests`_
1414
if you're curious about more details.
1515

16-
Configuring CSRF
17-
----------------
16+
Configuring CSRF Protection
17+
---------------------------
1818

1919
First, configure the Security component so it can use CSRF protection.
20-
The Security component needs a CSRF provider. You can set this to use the default
20+
The Security component needs a CSRF token provider. You can set this to use the default
2121
provider available in the Form component:
2222

2323
.. configuration-block::

0 commit comments

Comments
 (0)