From dbf3a70808dd32bbd0931cb6bea4b26bb7aa9c86 Mon Sep 17 00:00:00 2001 From: Thomas Landauer Date: Wed, 10 Aug 2022 23:11:21 +0200 Subject: [PATCH] Adding comment about route name --- security.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/security.rst b/security.rst index 2b4ee776d63..fa60564fab5 100644 --- a/security.rst +++ b/security.rst @@ -1677,7 +1677,7 @@ To enable logging out, activate the ``logout`` config parameter under your fire $mainFirewall = $security->firewall('main'); // ... $mainFirewall->logout() - ->path('app_logout') + ->path('app_logout') // pass either the *name* or the *path* of the route // where to redirect after logout // ->target('app_any_route')