From 209f22b01e68876494cba00315120c418aa1f3ea Mon Sep 17 00:00:00 2001 From: Mathieu Date: Tue, 12 Dec 2023 21:44:08 +0100 Subject: [PATCH] Update security.rst Co-authored-by: Tobias Feijten --- security.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: