Skip to content

Commit d5d5898

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

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
@@ -668,6 +668,17 @@ Most websites have a login form where users authenticate using an
668668
identifier (e.g. email address or username) and a password. This
669669
functionality is provided by the built-in :class:`Symfony\\Component\\Security\\Http\Authenticator\\FormLoginAuthenticator`.
670670

671+
You can run the following command to create everything needed to add a login
672+
form in your application:
673+
674+
.. code-block:: terminal
675+
676+
$ php bin/console make:security:form-login
677+
678+
This command will create the required controller and template and it will also
679+
update the security configuration. Alternatively, if you prefer to make these
680+
changes manually, follow the next steps.
681+
671682
First, create a controller for the login form:
672683

673684
.. code-block:: terminal

0 commit comments

Comments
 (0)