Update ProfileService.cs

Update check for LastName value in GetClaimsFromUser()
This commit is contained in:
Frank Ibem 2017-05-26 20:35:56 -05:00 committed by GitHub
parent 8908cecd6e
commit 0567ff85b1

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