We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 784dc72 commit da582daCopy full SHA for da582da
1 file changed
src/Services/Identity/Identity.API/Services/ProfileService.cs
@@ -74,7 +74,7 @@ private IEnumerable<Claim> GetClaimsFromUser(ApplicationUser user)
74
if (!string.IsNullOrWhiteSpace(user.Name))
75
claims.Add(new Claim("name", user.Name));
76
77
- if (!string.IsNullOrWhiteSpace(user.Name))
+ if (!string.IsNullOrWhiteSpace(user.LastName))
78
claims.Add(new Claim("last_name", user.LastName));
79
80
if (!string.IsNullOrWhiteSpace(user.CardNumber))
0 commit comments