Skip to content

Commit 291dc5a

Browse files
javiereguiluzxabbuh
authored andcommitted
Document the invalidate_session option
1 parent e4f6bf8 commit 291dc5a

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

reference/configuration/security.rst

Lines changed: 16 additions & 0 deletions
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)