Skip to content

Confusing message in the output of make:auth for LoginFormAuthenticator #1020

@php4fan

Description

@php4fan

Symfony version(s) affected

5.4.0

Description

When you run bin/console make:auth, and you choose a login form authenticator, at the end you get this message:

 Success! 
           

 Next:
 - (...)
 - Check the user's password in App\Security\LoginFormAuthenticator::checkCredentials().  
 - (...)

That, to me, means that I should expect to find a method called checkCredentials() in LoginFormAuthenticator, hopefully with some comment telling me exactly where I should add the code to check the password.

But there's no such method.

Perhaps the message is outdated and refers to an old obsolete method that got superseded by authenticate()? If that's not it, I'm confused.

How to reproduce

bin/console make:auth

Possible Solution

No response

Additional Context

No response

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