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...)
You can check at security bundle config file located at
config/packages/security.yaml. Make sureenable_authenticator_managersetting is there.If the value is
false, set it totrue. If none, add it undersecuritysection.Then execute
make:authagain