File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -160,14 +160,14 @@ the current firewall and not the other ones.
160160logout_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
172172The user is considered to have changed when the user class implements
173173:class: `Symfony\\ Component\\ Security\\ Core\\ User\\ EquatableInterface ` and the
You can’t perform that action at this time.
0 commit comments