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`
593593The path which triggers logout. If you change it from the default value ``/logout ``,
594594you need to set up a route with a matching path.
595595
596+ target
597+ ~~~~~~
598+
599+ **type **: ``string `` **default **: ``/ ``
600+
601+ The route, path or URL to redirect to after logout.
602+
596603success_handler
597604~~~~~~~~~~~~~~~
598605
@@ -601,6 +608,8 @@ success_handler
601608The service ID used for handling a successful logout. The service must implement
602609:class: `Symfony\\ Component\\ Security\\ Http\\ Logout\\ LogoutSuccessHandlerInterface `.
603610
611+ If it is set, ``target `` will be ignored.
612+
604613.. _reference-security-logout-csrf :
605614
606615csrf_parameter
You can’t perform that action at this time.
0 commit comments