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.
614
614
The path which triggers logout. If you change it from the default value ``/logout ``,
615
615
you need to set up a route with a matching path.
616
616
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
+
617
626
success_handler
618
627
~~~~~~~~~~~~~~~
619
628
@@ -629,6 +638,8 @@ success_handler
629
638
The service ID used for handling a successful logout. The service must implement
630
639
:class: `Symfony\\ Component\\ Security\\ Http\\ Logout\\ LogoutSuccessHandlerInterface `.
631
640
641
+ If it is set, the logout ``target `` option will be ignored.
642
+
632
643
.. _reference-security-logout-csrf :
633
644
634
645
csrf_parameter
You can’t perform that action at this time.
0 commit comments