[SECURITY] Revert "AbstractAuthenticationListener.php error instead info. Rebase of #28462"

This reverts commit 867eb78cfe.
This commit is contained in:
Diego Aguiar 2019-12-12 11:50:33 -07:00 committed by Nicolas Grekas
parent 1d59e1eff0
commit 9d306f9046

View File

@ -184,7 +184,7 @@ abstract class AbstractAuthenticationListener extends AbstractListener implement
private function onFailure(Request $request, AuthenticationException $failed): Response
{
if (null !== $this->logger) {
$this->logger->error('Authentication request failed.', ['exception' => $failed]);
$this->logger->info('Authentication request failed.', ['exception' => $failed]);
}
$token = $this->tokenStorage->getToken();