Skip to content

Commit

Permalink
Add UserName in SetSuccessResultAsync method.
Browse files Browse the repository at this point in the history
Resolve #5120
  • Loading branch information
maliming committed Aug 19, 2020
1 parent b90b0be commit 3e05d01
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@ await IdentitySecurityLogManager.SaveAsync(
new IdentitySecurityLogContext
{
Identity = IdentityServerSecurityLogIdentityConsts.IdentityServer,
Action = IdentityServerSecurityLogActionConsts.LoginSucceeded
Action = IdentityServerSecurityLogActionConsts.LoginSucceeded,
UserName = context.UserName
}
);
}
Expand Down

0 comments on commit 3e05d01

Please sign in to comment.