From 0e79ced89ea36088950fef369769c5ab9981529d Mon Sep 17 00:00:00 2001 From: Engincan VESKE <43685404+EngincanV@users.noreply.github.com> Date: Thu, 22 Jun 2023 10:40:47 +0300 Subject: [PATCH] Update AbpResourceOwnerPasswordValidator.cs --- .../AspNetIdentity/AbpResourceOwnerPasswordValidator.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/identityserver/src/Volo.Abp.IdentityServer.Domain/Volo/Abp/IdentityServer/AspNetIdentity/AbpResourceOwnerPasswordValidator.cs b/modules/identityserver/src/Volo.Abp.IdentityServer.Domain/Volo/Abp/IdentityServer/AspNetIdentity/AbpResourceOwnerPasswordValidator.cs index 6e71e5d83a..628eb37cb7 100644 --- a/modules/identityserver/src/Volo.Abp.IdentityServer.Domain/Volo/Abp/IdentityServer/AspNetIdentity/AbpResourceOwnerPasswordValidator.cs +++ b/modules/identityserver/src/Volo.Abp.IdentityServer.Domain/Volo/Abp/IdentityServer/AspNetIdentity/AbpResourceOwnerPasswordValidator.cs @@ -185,6 +185,7 @@ public class AbpResourceOwnerPasswordValidator : IResourceOwnerPasswordValidator if (result.Succeeded) { await SetSuccessResultAsync(context, user); + return; } Logger.LogInformation("Authentication failed for username: {username}, reason: InvalidRecoveryCode", context.UserName);