Skip to content

Commit 6f3a396

Browse files
committed
Merge branch '6.4' into 7.0
* 6.4: [Security] WIP - make:security:form-login is now available in MakerBundle
2 parents cf50ef8 + c39f84a commit 6f3a396

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

security.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -703,6 +703,17 @@ Most websites have a login form where users authenticate using an
703703
identifier (e.g. email address or username) and a password. This
704704
functionality is provided by the built-in :class:`Symfony\\Component\\Security\\Http\Authenticator\\FormLoginAuthenticator`.
705705

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+
706717
First, create a controller for the login form:
707718

708719
.. code-block:: terminal

0 commit comments

Comments
 (0)