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

This commit is contained in:
Alexey Berezuev 2019-07-08 12:13:32 +03:00
parent 6811aaa8e0
commit 867eb78cfe

View File

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