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.
644
644
The path which triggers logout. If you change it from the default value ``/logout ``,
645
645
you need to set up a route with a matching path.
646
646
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
+
647
656
success_handler
648
657
~~~~~~~~~~~~~~~
649
658
@@ -659,6 +668,8 @@ success_handler
659
668
The service ID used for handling a successful logout. The service must implement
660
669
:class: `Symfony\\ Component\\ Security\\ Http\\ Logout\\ LogoutSuccessHandlerInterface `.
661
670
671
+ If it is set, the logout ``target `` option will be ignored.
672
+
662
673
.. _reference-security-logout-csrf :
663
674
664
675
csrf_parameter
You can’t perform that action at this time.
0 commit comments