Fix: Use correct constructor argument name
This commit is contained in:
@@ -7,7 +7,7 @@ use Symfony\Component\Security\Http\Event\LogoutEvent;
|
|||||||
|
|
||||||
class LogoutListener
|
class LogoutListener
|
||||||
{
|
{
|
||||||
public function __construct(private readonly LoggerInterface $authenticationLogger)
|
public function __construct(private readonly LoggerInterface $logger)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -17,8 +17,6 @@ class LogoutListener
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->authenticationLogger->info('Logout', [
|
$this->logger->info('Logout');
|
||||||
'user' => $event->getToken()->getUserIdentifier(),
|
|
||||||
]);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user