Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 98bda5f

Browse filesBrowse 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
Copy full SHA for 98bda5f

File tree

1 file changed

+6
-6
lines changed
Filter options

1 file changed

+6
-6
lines changed

‎reference/configuration/security.rst

Copy file name to clipboardExpand all lines: reference/configuration/security.rst
+6-6Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.