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") */