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 @@ -644,6 +644,15 @@ the current firewall and not the other ones.
644644The path which triggers logout. If you change it from the default value ``/logout ``,
645645you need to set up a route with a matching path.
646646
647+ target
648+ ~~~~~~
649+
650+ **type **: ``string `` **default **: ``/ ``
651+
652+ The relative path (if the value starts with ``/ ``), or absolute URL (if it
653+ starts with ``http:// `` or ``https:// ``) or the route name (otherwise) to
654+ redirect after logout.
655+
647656success_handler
648657~~~~~~~~~~~~~~~
649658
@@ -659,6 +668,8 @@ success_handler
659668The service ID used for handling a successful logout. The service must implement
660669:class: `Symfony\\ Component\\ Security\\ Http\\ Logout\\ LogoutSuccessHandlerInterface `.
661670
671+ If it is set, the logout ``target `` option will be ignored.
672+
662673.. _reference-security-logout-csrf :
663674
664675csrf_parameter
You can’t perform that action at this time.
0 commit comments