File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -703,6 +703,17 @@ Most websites have a login form where users authenticate using an
703
703
identifier (e.g. email address or username) and a password. This
704
704
functionality is provided by the built-in :class: `Symfony\\ Component\\ Security\\ Http\A uthenticator\\ FormLoginAuthenticator `.
705
705
706
+ You can run the following command to create everything needed to add a login
707
+ form in your application:
708
+
709
+ .. code-block :: terminal
710
+
711
+ $ php bin/console make:security:form-login
712
+
713
+ This command will create the required controller and template and it will also
714
+ update the security configuration. Alternatively, if you prefer to make these
715
+ changes manually, follow the next steps.
716
+
706
717
First, create a controller for the login form:
707
718
708
719
.. code-block :: terminal
You can’t perform that action at this time.
0 commit comments