Skip to content

Commit 98bda5f

Browse files
committed
minor #10596 [Security] The logout_on_user_change firewall option is deprecated (chalasr)
This PR was merged into the 4.1 branch. Discussion ---------- [Security] The logout_on_user_change firewall option is deprecated Since symfony/symfony#24364 Commits ------- 18c8f91 [Security] The logout_on_user_change firewall option is deprecated
2 parents 4956ac2 + 18c8f91 commit 98bda5f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

reference/configuration/security.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -160,14 +160,14 @@ the current firewall and not the other ones.
160160
logout_on_user_change
161161
~~~~~~~~~~~~~~~~~~~~~
162162

163-
**type**: ``boolean`` **default**: ``false``
163+
**type**: ``boolean`` **default**: ``true``
164164

165-
.. versionadded:: 3.4
166-
The ``logout_on_user_change`` option was introduced in Symfony 3.4.
165+
.. versionadded:: 4.1
166+
The ``logout_on_user_change`` option was deprecated in Symfony 4.1.
167167

168-
If ``true`` this option makes Symfony to trigger a logout when the user has
169-
changed. Not doing that is deprecated, so this option should be set to ``true``
170-
to avoid getting deprecation messages.
168+
If ``false`` this option makes Symfony to not trigger a logout when the user has
169+
changed. Doing that is deprecated, so this option should set to ``true`` or
170+
unset to avoid getting deprecation messages.
171171

172172
The user is considered to have changed when the user class implements
173173
:class:`Symfony\\Component\\Security\\Core\\User\\EquatableInterface` and the

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy