Browse Source

Merge pull request #204 from frankibem/patch-1

Update ProfileService.cs
pull/223/head
Eduard Tomàs 7 years ago
committed by GitHub
parent
commit
5a1eac2404
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)) if (!string.IsNullOrWhiteSpace(user.Name))
claims.Add(new Claim("name", 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)); claims.Add(new Claim("last_name", user.LastName));
if (!string.IsNullOrWhiteSpace(user.CardNumber)) if (!string.IsNullOrWhiteSpace(user.CardNumber))


Loading…
Cancel
Save