...
This commit is contained in:
@@ -29,8 +29,8 @@ namespace Hushian.Application.Services
|
||||
{
|
||||
new Claim(JwtRegisteredClaimNames.Sub,
|
||||
//Role=="User" ? "U"+userId.ToString()
|
||||
//:Role=="Company" ? "C"+userId.ToString()
|
||||
//:
|
||||
Role=="Company" ? "C"+userId.ToString()
|
||||
:
|
||||
userId.ToString()),
|
||||
new Claim(ClaimTypes.NameIdentifier, UserName),
|
||||
new Claim(CustomClaimTypes.Uid,userId.ToString()),
|
||||
|
Reference in New Issue
Block a user