From 745af3cc386fa7efd71a95f6d605138f692f8c21 Mon Sep 17 00:00:00 2001 From: Przemek Maszczynski Date: Thu, 22 Oct 2020 22:46:13 +0200 Subject: [PATCH] Removed duplicate method --- security/form_login_setup.rst | 8 -------- 1 file changed, 8 deletions(-) diff --git a/security/form_login_setup.rst b/security/form_login_setup.rst index f1f646fad47..768ce725a72 100644 --- a/security/form_login_setup.rst +++ b/security/form_login_setup.rst @@ -77,14 +77,6 @@ class that processes the login submit and 4) updates the main security config fi return $this->render('security/login.html.twig', ['last_username' => $lastUsername, 'error' => $error]); } - /** - * @Route("/logout", name="app_logout") - */ - public function logout() - { - throw new \Exception('This method can be blank - it will be intercepted by the logout key on your firewall'); - } - /** * @Route("/logout", name="app_logout") */