php bin/console make:security:form-login

Generate the code needed for the form_login authenticator

Usage

make:security:form-login

Help

The make:security:form-login command generates a controller and twig template
to allow users to login using the form_login authenticator.

The controller name, and logout ability can be customized by answering the
questions asked when running make:security:form-login.

This will also update your security.yaml for the new authenticator.

php bin/console make:security:form-login