Skip to content

Commit 225d304

Browse files
MatTheCatwouterj
andauthored
Update security.rst
Co-authored-by: Wouter de Jong <[email protected]>
1 parent b904ca9 commit 225d304

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

security.rst

+2-5
Original file line numberDiff line numberDiff line change
@@ -1847,11 +1847,8 @@ To enable logging out, activate the ``logout`` config parameter under your fire
18471847
Symfony will then un-authenticate users navigating to the configured ``path``,
18481848
and redirect them to the configured ``target``.
18491849

1850-
If your project uses :ref:`Symfony Flex <symfony-flex>`, you're all set:
1851-
the :class:`Symfony\\Bundle\\SecurityBundle\\Routing\\LogoutRouteLoader` will
1852-
automatically register a route for every logout URI you configured!
1853-
Otherwise, you can enable this behavior yourself by importing the
1854-
``security.route_loader.logout`` service as a routing resource:
1850+
If your project does not use :ref:`Symfony Flex <symfony-flex>`, make sure
1851+
you have imported the logout route loader in your routes:
18551852

18561853
.. configuration-block::
18571854

0 commit comments

Comments
 (0)