File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -593,6 +593,13 @@ required by the :class:`Symfony\\Component\\Security\\Core\\User\\UserInterface`
593
593
The path which triggers logout. If you change it from the default value ``/logout ``,
594
594
you need to set up a route with a matching path.
595
595
596
+ target
597
+ ~~~~~~
598
+
599
+ **type **: ``string `` **default **: ``/ ``
600
+
601
+ The route, path or URL to redirect to after logout.
602
+
596
603
success_handler
597
604
~~~~~~~~~~~~~~~
598
605
@@ -601,6 +608,8 @@ success_handler
601
608
The service ID used for handling a successful logout. The service must implement
602
609
:class: `Symfony\\ Component\\ Security\\ Http\\ Logout\\ LogoutSuccessHandlerInterface `.
603
610
611
+ If it is set, ``target `` will be ignored.
612
+
604
613
.. _reference-security-logout-csrf :
605
614
606
615
csrf_parameter
You can’t perform that action at this time.
0 commit comments