Skip to content

Commit aa5a20c

Browse files
authored
Update security.rst
1 parent 9daddb2 commit aa5a20c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

security.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1019,6 +1019,12 @@ After this, you have protected your login form against CSRF attacks.
10191019
the token ID by setting ``csrf_token_id`` in your configuration. See
10201020
:ref:`reference-security-firewall-form-login` for more details.
10211021

1022+
.. tip::
1023+
1024+
the ``data-controller`` part is related to the usage of
1025+
https://symfony.com/doc/current/security/csrf.html#generating-csrf-token-using-javascript
1026+
It can be removed if you use statefull session storage, not stateless.
1027+
10221028
.. _security-json-login:
10231029

10241030
JSON Login

0 commit comments

Comments
 (0)