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);
if (socialSecurityNumber != null)
{
identity.AddOrReplace(new Claim("SocialSecurityNumber", socialSecurityNumber));
identity.AddClaim(new Claim("SocialSecurityNumber", socialSecurityNumber));
}
}
}
@ -484,4 +484,4 @@ public class SocialSecurityNumberClaimsPrincipalContributor : IAbpClaimsPrincipa
* [Permission Management Module](Modules/Permission-Management.md)
* [ASP.NET Core MVC / Razor Pages JavaScript Auth API](UI/AspNetCore/JavaScript-API/Auth.md)
* [Permission Management in Angular UI](UI/Angular/Permission-Management.md)
* [Permission Management in Angular UI](UI/Angular/Permission-Management.md)

Loading…
Cancel
Save