'Symfony make:auth command
I create a website with symfony 6 and I'd like to add an authentication system.
I see that symfony console make:auth command exist, but I can't use it with Symfony 6 ?
I got this error : [ERROR] MakerBundle only supports the new authenticator based security system. See https://symfony.com/doc/current/security.html.
Someone has a tutorial to create login forms and registration form (cause I tryed to use documentation and for registration form I got another error, one of (Exception) class is not founded...)
Solution 1:[1]
You can check at security bundle config file located at config/packages/security.yaml. Make sure enable_authenticator_manager setting is there.
If the value is false, set it to true.
If none, add it under security section.
security:
# add line below
enable_authenticator_manager: true
Then execute make:auth again
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Azhar Uddin |
