Skip to content

Class "Symfony\Component\Security\Guard\Authenticator\AbstractFormLoginAuthenticator" does not exist #1018

@537mfb

Description

@537mfb

Testing Symfony 6.0-RC1, I get the following output when I do symfony console make:auth:

 What style of authentication do you want? [Empty authenticator]:
  [0] Empty authenticator
  [1] Login form authenticator
 > 1

 The class name of the authenticator to create (e.g. AppCustomAuthenticator):
 > AppAuthenticator

 Choose a name for the controller class (e.g. SecurityController) [SecurityController]:
 > 

 Do you want to generate a '/logout' URL? (yes/no) [yes]:
 > 

In MakeAuthenticator.php line 411:

  Class "Symfony\Component\Security\Guard\Authenticator\AbstractFormLoginAuthenticator" does not exist  

make:auth [--firewall-name [FIREWALL-NAME]] [--entry-point [ENTRY-POINT]] [--] <authenticator-type> <authenticator-class> <controller-class> <user-class> <username-field> <logout-setup>

exit status 1

I thought the Guard Authenticator had been deprecated an a new authentication mechanism had been implemented in Symfony 5.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions