Browse Source

Merge pull request #5121 from abpframework/maliming/id4-security-log

Add UserName in SetSuccessResultAsync method.
pull/5123/head
Halil İbrahim Kalkan 6 years ago
committed by GitHub
parent
commit
69e1791bd5
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      modules/identityserver/src/Volo.Abp.IdentityServer.Domain/Volo/Abp/IdentityServer/AspNetIdentity/AbpResourceOwnerPasswordValidator.cs

3
modules/identityserver/src/Volo.Abp.IdentityServer.Domain/Volo/Abp/IdentityServer/AspNetIdentity/AbpResourceOwnerPasswordValidator.cs

@ -90,7 +90,8 @@ namespace Volo.Abp.IdentityServer.AspNetIdentity
new IdentitySecurityLogContext
{
Identity = IdentityServerSecurityLogIdentityConsts.IdentityServer,
Action = IdentityServerSecurityLogActionConsts.LoginSucceeded
Action = IdentityServerSecurityLogActionConsts.LoginSucceeded,
UserName = context.UserName
}
);
}

Loading…
Cancel
Save