From 7fc1937dcfef6654975af86ea3e89a4f589d0ab8 Mon Sep 17 00:00:00 2001 From: Timo Notheisen Date: Fri, 10 Jan 2025 12:52:16 +0100 Subject: [PATCH] chore: remove debug output --- .../Controllers/IdentitiesController.cs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/Modules/Devices/src/Devices.ConsumerApi/Controllers/IdentitiesController.cs b/Modules/Devices/src/Devices.ConsumerApi/Controllers/IdentitiesController.cs index 189b4ce995..c40ac2f343 100644 --- a/Modules/Devices/src/Devices.ConsumerApi/Controllers/IdentitiesController.cs +++ b/Modules/Devices/src/Devices.ConsumerApi/Controllers/IdentitiesController.cs @@ -49,14 +49,6 @@ public async Task CreateIdentity(CreateIdentityRequest request, C { var client = await _applicationManager.FindByClientIdAsync(request.ClientId, cancellationToken); - var clients = await _applicationManager.ListAsync(cancellationToken: cancellationToken).ToListAsync(cancellationToken); - - _logger.LogInformation("NUMBER OF CLIENTS: {NumberOfClients}", clients.Count); - foreach (var clientItem in clients) - { - _logger.LogInformation("Client: {ClientId}", clientItem.ClientId); - } - if (client == null || !await _applicationManager.ValidateClientSecretAsync(client, request.ClientSecret, cancellationToken)) throw new OperationFailedException(GenericApplicationErrors.Unauthorized());