Skip to content

Commit a24b165

Browse files
bug #34957 [Security] Revert "AbstractAuthenticationListener.php error instead info" (larzuk91)
This PR was submitted for the master branch but it was merged into the 4.4 branch instead. Discussion ---------- [Security] Revert "AbstractAuthenticationListener.php error instead info" | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | Fix #34836 | License | MIT This reverts commit 867eb78. After that change, every failed login attempt is logged as an error. It's flooding our errors log channel Commits ------- 9d306f9 [SECURITY] Revert "AbstractAuthenticationListener.php error instead info. Rebase of #28462"
2 parents 1d59e1e + 9d306f9 commit a24b165

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Security/Http/Firewall/AbstractAuthenticationListener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ abstract protected function attemptAuthentication(Request $request);
184184
private function onFailure(Request $request, AuthenticationException $failed): Response
185185
{
186186
if (null !== $this->logger) {
187-
$this->logger->error('Authentication request failed.', ['exception' => $failed]);
187+
$this->logger->info('Authentication request failed.', ['exception' => $failed]);
188188
}
189189

190190
$token = $this->tokenStorage->getToken();

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy