11..index ::
2- single: Security; CSRF in the Login Form
2+ single: Security; CSRFProtection in the Login Form
33
4- Using CSRF in the Login Form
5- ============================
4+ Using CSRFProtection in the Login Form
5+ =======================================
66
77When 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
1919First, 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 CSRFtoken provider. You can set this to use the default
2121provider available in the Form component:
2222
2323..configuration-block ::