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

Documented the logout_on_user_change option #9842

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed
Changes from 1 commit
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
Next Next commit
Documented the logout_on_user_change option
  • Loading branch information
javiereguiluz committed May 28, 2018
commit 9626c64444f31a48af6c30e58d0865416f31e4f8
13 changes: 13 additions & 0 deletions 13 reference/configuration/security.rst
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ Each part will be explained in the next section.
# See "Firewall Context" below for more details
context: context_key
stateless: false
logout_on_user_change: false
x509:
provider: some_key_from_above
remote_user:
Expand Down Expand Up @@ -450,6 +451,18 @@ The ``invalidate_session`` option allows to redefine this behavior. Set this
option to ``false`` in every firewall and the user will only be logged out from
the current firewall and not the other ones.

logout_on_user_change
~~~~~~~~~~~~~~~~~~~~~

**type**: ``boolean`` **default**: ``false``

.. versionadded:: 3.4
The ``logout_on_user_change`` option was introduced in Symfony 3.4.

If ``true`` this option makes Symfony to trigger a logout when the user has
changed. Not doing that is deprecated, so this option should be set to ``true``
to avoid getting deprecation messages.

.. _reference-security-ldap:

LDAP functionality
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.