diff --git a/src/Services/Identity/Identity.API/Services/ProfileService.cs b/src/Services/Identity/Identity.API/Services/ProfileService.cs index 3d3826929..71d10a777 100644 --- a/src/Services/Identity/Identity.API/Services/ProfileService.cs +++ b/src/Services/Identity/Identity.API/Services/ProfileService.cs @@ -74,7 +74,7 @@ namespace Identity.API.Services if (!string.IsNullOrWhiteSpace(user.Name)) claims.Add(new Claim("name", user.Name)); - if (!string.IsNullOrWhiteSpace(user.Name)) + if (!string.IsNullOrWhiteSpace(user.LastName)) claims.Add(new Claim("last_name", user.LastName)); if (!string.IsNullOrWhiteSpace(user.CardNumber))