From 675dd603c78de414bb23de4e61b63fda2cb57907 Mon Sep 17 00:00:00 2001 From: Shaun Date: Sun, 4 Nov 2018 02:22:08 -0500 Subject: [PATCH 1/3] Document logout success_handler configuration --- reference/configuration/security.rst | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/reference/configuration/security.rst b/reference/configuration/security.rst index 991a22cfdbb..cf543f34a11 100644 --- a/reference/configuration/security.rst +++ b/reference/configuration/security.rst @@ -154,7 +154,7 @@ Logout Configuration -------------------- invalidate_session -~~~~~~~~~~~~~~~~~~ +.................... **type**: ``boolean`` **default**: ``true`` @@ -166,6 +166,14 @@ 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. +success_handler +.................... + +**type**: ``string`` **default**: ``'security.logout.success_handler'`` + +The service ID used for handling a successful logout. The service must implement +:class:`Symfony\\Component\\Security\\Http\\Logout\\LogoutSuccessHandlerInterface`. + .. _reference-security-ldap: LDAP functionality From d21752f43b8b5193abeef1a2be5d58d5fb97b08b Mon Sep 17 00:00:00 2001 From: Shaun Date: Sun, 4 Nov 2018 02:57:07 -0500 Subject: [PATCH 2/3] Fix title level inconsistency --- reference/configuration/security.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reference/configuration/security.rst b/reference/configuration/security.rst index cf543f34a11..b75705eb9ec 100644 --- a/reference/configuration/security.rst +++ b/reference/configuration/security.rst @@ -154,7 +154,7 @@ Logout Configuration -------------------- invalidate_session -.................... +~~~~~~~~~~~~~~~~~~ **type**: ``boolean`` **default**: ``true`` @@ -167,7 +167,7 @@ option to ``false`` in every firewall and the user will only be logged out from the current firewall and not the other ones. success_handler -.................... +~~~~~~~~~~~~~~~~~~ **type**: ``string`` **default**: ``'security.logout.success_handler'`` From b71c45517d844d325102fda476b0f1f65d68556d Mon Sep 17 00:00:00 2001 From: Shaun Date: Mon, 5 Nov 2018 14:17:56 -0500 Subject: [PATCH 3/3] Fix line length --- reference/configuration/security.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reference/configuration/security.rst b/reference/configuration/security.rst index b75705eb9ec..b9ab8a43d8a 100644 --- a/reference/configuration/security.rst +++ b/reference/configuration/security.rst @@ -167,7 +167,7 @@ option to ``false`` in every firewall and the user will only be logged out from the current firewall and not the other ones. success_handler -~~~~~~~~~~~~~~~~~~ +~~~~~~~~~~~~~~~ **type**: ``string`` **default**: ``'security.logout.success_handler'``