diff --git a/security.rst b/security.rst index 0029cbfd69d..69518ee1e3f 100644 --- a/security.rst +++ b/security.rst @@ -1846,7 +1846,7 @@ To enable logging out, activate the ``logout`` config parameter under your fire Symfony will then un-authenticate users navigating to the configured ``path``, and redirect them to the configured ``target``. You can generate URLs to this -path using the ``_security_`` route name (e.g. ``_security_main``). +path using the ``_logout_`` route name (e.g. ``_logout_main``). If your project does not use :ref:`Symfony Flex `, make sure you have imported the logout route loader in your routes: