Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit52518c0

Browse files
committed
minorsymfony#3819 Update csrf_in_login_form.rst (micheal)
This PR was submitted for the 2.4 branch but it was merged into the 2.3 branch instead (closessymfony#3819).Discussion----------Update csrf_in_login_form.rstWe want to protect against CSRF, not allow it. :)Commits-------8d80e22 Update csrf_in_login_form.rst
2 parents1adfd9b +6188298 commit52518c0

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; CSRFProtectionin the Login Form
33

4-
Using CSRF in the Login Form
5-
============================
4+
Using CSRFProtectionin 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 CSRFtokenprovider. You can set this to use the default
2121
provider available in the Form component:
2222

2323
..configuration-block::

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp