Description
Symfony version(s) affected: 4.4.1
Description
Every failed login attempts are logged as errors :
[2019-12-05T11:47:47.157808+01:00] security.ERROR: Authentication request failed. {"exception":"[object] (Symfony\\Component\\Security\\Core\\Exception\\BadCredentialsException(code: 0): Bad credentials. at /home/foulques/PhpstormProjects/MonAvisCitoyenV2/vendor/symfony/security-core/Authentication/Provider/UserAuthenticationProvider.php:68)\n[previous exception] [object] (Symfony\\Component\\Security\\Core\\Exception\\UsernameNotFoundException(code: 0): User \"18691mac@yopmail.com\" not found. at /home/foulques/PhpstormProjects/MonAvisCitoyenV2/vendor/symfony/doctrine-bridge/Security/User/EntityUserProvider.php:65)"} []
... and every time I receive a mail to warn me about this...
How to reproduce
Try to log in with bad credentials and watch logs.
Additional context
Commit who changed the log type from "info" to "error" : 867eb78#diff-f074ae27e23362de22ea81ae1c51ac65
Pull request that talk about this change : #28462