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
18 changes: 18 additions & 0 deletions reference/configuration/security.rst
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,24 @@
The entire session is regenerated, so the session ID is updated but all the
other session attributes are lost.

erase_credentials

Check failure on line 80 in reference/configuration/security.rst

View workflow job for this annotation

GitHub Actions / Lint (DOCtor-RST)

Please ensure title "erase_credentials" and underline length are matching
------------------

**type**: ``boolean`` **default**: ``true``

.. deprecated:: 8.1

The ``erase_credentials`` option is deprecated since Symfony 8.1 and will
be removed in 9.0, as the feature behind it was removed in Symfony 8.0.

If ``true``, the ``eraseCredentials()`` method of the user object was called
after authentication. This was used to remove sensitive data (e.g. plain-text
passwords) from the user object stored in the session.

Since Symfony 8.0 removed the ``eraseCredentials()`` method from the user
interface, this option no longer has any effect. You should remove it from
your security configuration to avoid the deprecation warning.

access_decision_manager
-----------------------

Expand Down
Loading