Skip to content

Facelifted book/security #2783

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 8 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Moved caution directive to not break colon
  • Loading branch information
wouterj committed Jun 29, 2013
commit b3cc1ed31d93089f763ae3f517061dcce6e57363
10 changes: 5 additions & 5 deletions book/security.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1705,11 +1705,6 @@ Note that you will *not* need to implement a controller for the ``/logout``
URL as the firewall takes care of everything. You *do*, however, need to create
a route so that you can use it to generate the URL:

.. caution::

As of Symfony 2.1, you *must* have a route that corresponds to your logout
path. Without this route, logging out will not work.

.. configuration-block::

.. code-block:: yaml
Expand Down Expand Up @@ -1742,6 +1737,11 @@ a route so that you can use it to generate the URL:

return $collection;

.. caution::

As of Symfony 2.1, you *must* have a route that corresponds to your logout
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't we remove the As of Symfony 2.1 as 2.0 is not maintained anymore ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only from bramches which are released after the deprecation. In this case, it's 2.3

path. Without this route, logging out will not work.

Once the user has been logged out, he will be redirected to whatever path
is defined by the ``target`` parameter above (e.g. the ``homepage``). For
more information on configuring the logout, see the
Expand Down
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