@@ -660,7 +660,7 @@ Form Login
660
660
661
661
Most websites have a login form where users authenticate using an
662
662
identifier (e.g. email address or username) and a password. This
663
- functionality is provided by the * form login authenticator * .
663
+ functionality is provided by the built-in :class: ` Symfony \\ Component \\ Security \\ Http \A uthenticator \\ FormLoginAuthenticator ` .
664
664
665
665
First, create a controller for the login form:
666
666
@@ -691,7 +691,7 @@ First, create a controller for the login form:
691
691
}
692
692
}
693
693
694
- Then, enable the form login authenticator using the ``form_login `` setting:
694
+ Then, enable the `` FormLoginAuthenticator `` using the ``form_login `` setting:
695
695
696
696
.. configuration-block ::
697
697
@@ -784,8 +784,8 @@ Edit the login controller to render the login form:
784
784
}
785
785
}
786
786
787
- Don't let this controller confuse you. Its job is only to *render * the form:
788
- the ``form_login `` authenticator will handle the form *submission * automatically.
787
+ Don't let this controller confuse you. Its job is only to *render * the form.
788
+ The ``FormLoginAuthenticator `` will handle the form *submission * automatically.
789
789
If the user submits an invalid email or password, that authenticator will store
790
790
the error and redirect back to this controller, where we read the error (using
791
791
``AuthenticationUtils ``) so that it can be displayed back to the user.
@@ -857,7 +857,7 @@ To review the whole process:
857
857
#. The ``/login `` page renders login form via the route and controller created
858
858
in this example;
859
859
#. The user submits the login form to ``/login ``;
860
- #. The security system (i.e. the ``form_login `` authenticator ) intercepts the
860
+ #. The security system (i.e. the ``FormLoginAuthenticator `` ) intercepts the
861
861
request, checks the user's submitted credentials, authenticates the user if
862
862
they are correct, and sends the user back to the login form if they are not.
863
863
0 commit comments