Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions security.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1019,6 +1019,12 @@ After this, you have protected your login form against CSRF attacks.
the token ID by setting ``csrf_token_id`` in your configuration. See
:ref:`reference-security-firewall-form-login` for more details.

.. tip::

the ``data-controller`` part is related to the usage of
https://symfony.com/doc/current/security/csrf.html#generating-csrf-token-using-javascript
It can be removed if you use statefull session storage, not stateless.

.. _security-json-login:

JSON Login
Expand Down