Skip to content

Commit 30b8e56

Browse files
committed
minor #6191 Document the invalidate_session option (javiereguiluz)
This PR was squashed before being merged into the 2.3 branch (closes #6191). Discussion ---------- Document the invalidate_session option | Q | A | ------------- | --- | Doc fix? | no | New docs? | yes | Applies to | all | Fixed tickets | - I found this missing doc while closing symfony/symfony#9543 and checking out the given reference to http://stackoverflow.com/questions/17129782/symfony2-logging-out-of-one-firewall Commits ------- 291dc5a Document the invalidate_session option
2 parents cc8e436 + 291dc5a commit 30b8e56

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

reference/configuration/security.rst

+16
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,22 @@ Redirecting after Login
319319

320320
.. _reference-security-pbkdf2:
321321

322+
Logout Configuration
323+
--------------------
324+
325+
invalidate_session
326+
..................
327+
328+
**type**: ``boolean`` **default**: ``true``
329+
330+
By default, when users log out from any firewall, their sessions are invalidated.
331+
This means that logging out from one firewall automatically logs them out from
332+
all the other firewalls.
333+
334+
The ``invalidate_session`` option allows to redefine this behavior. Set this
335+
option to ``false`` in every firewall and the user will only be logged out from
336+
the current firewall and not the other ones.
337+
322338
Using the PBKDF2 Encoder: Security and Speed
323339
--------------------------------------------
324340

0 commit comments

Comments
 (0)