File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -1772,11 +1772,6 @@ Note that you will *not* need to implement a controller for the ``/logout``
17721772URL as the firewall takes care of everything. You *do *, however, need to create
17731773a route so that you can use it to generate the URL:
17741774
1775- .. caution ::
1776-
1777- As of Symfony 2.1, you *must * have a route that corresponds to your logout
1778- path. Without this route, logging out will not work.
1779-
17801775.. configuration-block ::
17811776
17821777 .. code-block :: yaml
@@ -1810,6 +1805,11 @@ a route so that you can use it to generate the URL:
18101805
18111806 return $collection;
18121807
1808+ .. caution ::
1809+
1810+ As of Symfony 2.1, you *must * have a route that corresponds to your logout
1811+ path. Without this route, logging out will not work.
1812+
18131813Once the user has been logged out, he will be redirected to whatever path
18141814is defined by the ``target `` parameter above (e.g. the ``homepage ``). For
18151815more information on configuring the logout, see the
You can’t perform that action at this time.
0 commit comments