From e7e0b24b47ad3c73fce17a74c87aee82f1378bce Mon Sep 17 00:00:00 2001 From: Swapnamol Abraham Date: Tue, 26 Nov 2024 11:49:26 +0000 Subject: [PATCH] totest the dev issue --- LearningHub.Nhs.UserApi.Services/AuthenticationService.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/LearningHub.Nhs.UserApi.Services/AuthenticationService.cs b/LearningHub.Nhs.UserApi.Services/AuthenticationService.cs index 2a4476e..9e21f21 100644 --- a/LearningHub.Nhs.UserApi.Services/AuthenticationService.cs +++ b/LearningHub.Nhs.UserApi.Services/AuthenticationService.cs @@ -47,12 +47,12 @@ public async Task AuthenticateAsync(Login login) if (loginResult.IsAuthenticated) { - await this.elfhUserService.RecordSuccessfulSigninAsync(loginResult.UserId); + //// await this.elfhUserService.RecordSuccessfulSigninAsync(loginResult.UserId); this.logger.LogInformation("User {lhuserid} has successfully authenticated.", loginResult.UserId); } else if (loginResult.UserId > 0) { - await this.elfhUserService.RecordUnsuccessfulSigninAsync(loginResult.UserId); + //// await this.elfhUserService.RecordUnsuccessfulSigninAsync(loginResult.UserId); this.logger.LogWarning("User {lhuserid} has unsuccessfully authenticated. {errMsg}", loginResult.UserId, loginResult.ErrorMessage); }