diff --git a/src/EventListener/AuthorizationCodeListener.php b/src/EventListener/AuthorizationCodeListener.php index a0aa44b5..1109253d 100644 --- a/src/EventListener/AuthorizationCodeListener.php +++ b/src/EventListener/AuthorizationCodeListener.php @@ -39,7 +39,7 @@ class AuthorizationCodeListener private readonly UrlGeneratorInterface $urlGenerator, private readonly RequestStack $requestStack, private readonly Security $security, - private readonly LoggerInterface $authenticationLogger, + private readonly LoggerInterface $authLogger, private readonly Environment $twig, ) { } @@ -62,7 +62,7 @@ class AuthorizationCodeListener Response::HTTP_TEMPORARY_REDIRECT ); $event->setResponse($response); - $this->authenticationLogger->info('Authorization request without session'); + $this->authLogger->info('Authorization request without session'); return; } @@ -126,7 +126,7 @@ class AuthorizationCodeListener array $required, string $reason, ): void { - $this->authenticationLogger->info('Authorization request denied', [ + $this->authLogger->info('Authorization request denied', [ 'client' => $client, 'user_id' => $user->getId(), 'required_roles' => $required,