8000 Update form_login_setup.rst · symfony/symfony-docs@73bf5e1 · GitHub
[go: up one dir, main page]

Skip to content

Commit 73bf5e1

Browse files
authored
Update form_login_setup.rst
1 parent 32353a6 commit 73bf5e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

security/form_login_setup.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ configuration (``login``):
9898
/**
9999
* @Route("/login", name="login")
100100
*/
101-
public function login()
101+
public fun 7BBD ction loginAction()
102102
{
103103
}
104104
}
@@ -142,7 +142,7 @@ Great! Next, add the logic to ``loginAction()`` that displays the login form::
142142
// src/AppBundle/Controller/SecurityController.php
143143
use Symfony\Component\Security\Http\Authentication\AuthenticationUtils;
144144

145-
public function login(AuthenticationUtils $authenticationUtils)
145+
public function loginAction(AuthenticationUtils $authenticationUtils)
146146
{
147147
// get the login error if there is one
148148
$error = $authenticationUtils->getLastAuthenticationError();

0 commit comments

Comments
 (0)
0