How to use:
-
Copy each
User
folder from the respectivesrc/
folder into your own project. -
Copy the
Security
folder fromsrc/
into your own project. -
Copy the
EventListener
folder fromsrc/
into your own project. -
Copy
template/user
into your own project. -
Copy the
config/packages/security.yaml
into your own project. -
Copy the MySQL migration and run it.
-
Copy the translations.
-
Make sure you have following packages in your project:
- symfony/validator
- symfony/messenger
- symfony/mailer
- symfony/rate-limiter
-
Check the config folder, mostly:
- packages/security.yaml
- bundles.php (TwigExtraBundle moet geactiveerd zijn)
To do:
- Remove originUsername from core bundle usermenu.html.twig
- Remove link to route "profile" from core bundle usermenu.html.twig