10000 minor #10463 Update form_login_setup.rst (Zamir10) · symfony/symfony-docs@43d71e1 · GitHub
[go: up one dir, main page]

Skip to content

Commit 43d71e1

Browse files
committed
minor #10463 Update form_login_setup.rst (Zamir10)
This PR was merged into the 3.4 branch. Discussion ---------- Update form_login_setup.rst <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/roadmap for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `master` for features of unreleased versions). --> Commits ------- 73bf5e1 Update form_login_setup.rst
2 parents 32353a6 + 73bf5e1 commit 43d71e1

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 function 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