File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -614,6 +614,15 @@ the current firewall and not the other ones.
614614The path which triggers logout. If you change it from the default value ``/logout ``,
615615you need to set up a route with a matching path.
616616
617+ target
618+ ~~~~~~
619+
620+ **type **: ``string `` **default **: ``/ ``
621+
622+ The relative path (if the value starts with ``/ ``), or absolute URL (if it
623+ starts with ``http:// `` or ``https:// ``) or the route name (otherwise) to
624+ redirect after logout.
625+
617626success_handler
618627~~~~~~~~~~~~~~~
619628
@@ -629,6 +638,8 @@ success_handler
629638The service ID used for handling a successful logout. The service must implement
630639:class: `Symfony\\ Component\\ Security\\ Http\\ Logout\\ LogoutSuccessHandlerInterface `.
631640
641+ If it is set, the logout ``target `` option will be ignored.
642+
632643.. _reference-security-logout-csrf :
633644
634645csrf_parameter
You can’t perform that action at this time.
0 commit comments