Skip to content

Commit 067f205

Browse files
wouterjweaverryan
authored andcommitted
Moved caution directive to not break colon
1 parent e96d9ff commit 067f205

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

book/security.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1772,11 +1772,6 @@ Note that you will *not* need to implement a controller for the ``/logout``
17721772
URL as the firewall takes care of everything. You *do*, however, need to create
17731773
a 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+
18131813
Once the user has been logged out, he will be redirected to whatever path
18141814
is defined by the ``target`` parameter above (e.g. the ``homepage``). For
18151815
more information on configuring the logout, see the

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy