Browse Source

Update ProfileService.cs

Update check for LastName value in GetClaimsFromUser()
pull/223/head
Frank Ibem 7 years ago
committed by GitHub
parent
commit
0567ff85b1
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/Services/Identity/Identity.API/Services/ProfileService.cs

+ 1
- 1
src/Services/Identity/Identity.API/Services/ProfileService.cs View File

@ -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))


Loading…
Cancel
Save