You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cookbook/security/csrf_in_login_form.rst
+6-12Lines changed: 6 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -13,10 +13,6 @@ for CSRF. In this article you'll learn how you can use it in your login form.
13
13
Login CSRF attacks are a bit less well-known. See `Forging Login Requests`_
14
14
if you're curious about more details.
15
15
16
-
.. note::
17
-
18
-
Since SF 2.8 ``intention`` has been depreciated, and removed in SF 3.0. It is now labeled as ``csrf_token_id``. ``csrf_provider`` was changed in SF 3.0 to ``csrf_token_generator``.
19
-
20
16
Configuring CSRF Protection
21
17
---------------------------
22
18
@@ -37,8 +33,6 @@ provider available in the Security component:
37
33
# ...
38
34
form_login:
39
35
# ...
40
-
# Use csrf_provider in SF <2.8
41
-
# csrf_provider: security.csrf.token_manager
42
36
csrf_token_generator: security.csrf.token_manager
43
37
44
38
.. code-block:: xml
@@ -72,8 +66,6 @@ provider available in the Security component:
0 commit comments