Skip to content

Commit c39f84a

Browse files
committed
Merge branch '6.3' into 6.4
* 6.3: [Security] WIP - make:security:form-login is now available in MakerBundle
2 parents 635618d + d5d5898 commit c39f84a

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

security.rst

+11
Original file line numberDiff line numberDiff line change
@@ -717,6 +717,17 @@ Most websites have a login form where users authenticate using an
717717
identifier (e.g. email address or username) and a password. This
718718
functionality is provided by the built-in :class:`Symfony\\Component\\Security\\Http\Authenticator\\FormLoginAuthenticator`.
719719

720+
You can run the following command to create everything needed to add a login
721+
form in your application:
722+
723+
.. code-block:: terminal
724+
725+
$ php bin/console make:security:form-login
726+
727+
This command will create the required controller and template and it will also
728+
update the security configuration. Alternatively, if you prefer to make these
729+
changes manually, follow the next steps.
730+
720731
First, create a controller for the login form:
721732

722733
.. code-block:: terminal

0 commit comments

Comments
 (0)