8000 minor #14465 Removed duplicated method (entioentio) · symfony/symfony-docs@19b9cd9 · GitHub
[go: up one dir, main page]

Skip to content

Commit 19b9cd9

Browse files
committed
minor #14465 Remov 8000 ed duplicated method (entioentio)
This PR was merged into the 4.4 branch. Discussion ---------- Removed duplicated method Logout controller is duplicated, only difference is the type of the exception thrown. Commits ------- 745af3c Removed duplicate method
2 parents a20f40a + 745af3c commit 19b9cd9

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

security/form_login_setup.rst

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@ 95CB @ -77,14 +77,6 @@ class that processes the login submit and 4) updates the main security config fi
7777
return $this->render('security/login.html.twig', ['last_username' => $lastUsername, 'error' => $error]);
7878
}
7979

80-
/**
81-
* @Route("/logout", name="app_logout")
82-
*/
83-
public function logout()
84-
{
85-
throw new \Exception('This method can be blank - it will be intercepted by the logout key on your firewall');
86-
}
87-
8880
/**
8981
* @Route("/logout", name="app_logout")
9082
*/

0 commit comments

Comments
 (0)
0