Merge pull request #204 from frankibem/patch-1

Update ProfileService.cs
This commit is contained in:
Eduard Tomàs 2017-05-29 15:44:52 +02:00 committed by GitHub
commit d678052b4f

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