Skip to content

Commit 7bb3f94

Browse files
committed
Minor tweaks
1 parent 116c39a commit 7bb3f94

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

reference/configuration/security.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -598,7 +598,9 @@ target
598598

599599
**type**: ``string`` **default**: ``/``
600600

601-
The route, path or URL to redirect to after logout.
601+
The relative path (if the value starts with ``/``), or absolute URL (if it
602+
starts with ``http://`` or ``https://``) or the route name (otherwise) to
603+
redirect after logout.
602604

603605
success_handler
604606
~~~~~~~~~~~~~~~
@@ -608,7 +610,7 @@ success_handler
608610
The service ID used for handling a successful logout. The service must implement
609611
:class:`Symfony\\Component\\Security\\Http\\Logout\\LogoutSuccessHandlerInterface`.
610612

611-
If it is set, ``target`` will be ignored.
613+
If it is set, the logout ``target`` option will be ignored.
612614

613615
.. _reference-security-logout-csrf:
614616

0 commit comments

Comments
 (0)