Merge pull request #204 from frankibem/patch-1
Update ProfileService.cs
This commit is contained in:
commit
d678052b4f
@ -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…
x
Reference in New Issue
Block a user