From 81428c02502fdee7d883baaa4d2317425edf59c2 Mon Sep 17 00:00:00 2001 From: Mohamed Radhi Guennichi Date: Thu, 20 Aug 2020 17:29:09 +0100 Subject: [PATCH] Update form_login_setup.rst The logout option should be related to the firewalls section instead of providers --- security/form_login_setup.rst | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/security/form_login_setup.rst b/security/form_login_setup.rst index c5db7ba1309..25387a45254 100644 --- a/security/form_login_setup.rst +++ b/security/form_login_setup.rst @@ -99,12 +99,13 @@ Edit the ``security.yaml`` file in order to declare the ``/logout`` path: security: # ... - providers: - # ... - logout: - path: app_logout - # where to redirect after logout - # target: app_any_route + firewalls: + main: + # ... + logout: + path: app_logout + # where to redirect after logout + # target: app_any_route .. code-block:: xml