Update Authorization.md

pull/9038/head
Halil İbrahim Kalkan 4 years ago committed by GitHub
parent f94892cf33
commit adad47d096
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -473,7 +473,7 @@ public class SocialSecurityNumberClaimsPrincipalContributor : IAbpClaimsPrincipa
var socialSecurityNumber = await userService.GetSocialSecurityNumberAsync(userId.Value); var socialSecurityNumber = await userService.GetSocialSecurityNumberAsync(userId.Value);
if (socialSecurityNumber != null) if (socialSecurityNumber != null)
{ {
identity.AddOrReplace(new Claim("SocialSecurityNumber", socialSecurityNumber)); identity.AddClaim(new Claim("SocialSecurityNumber", socialSecurityNumber));
} }
} }
} }

Loading…
Cancel
Save