mirror of
https://github.com/Govor-team/Govor.git
synced 2026-07-21 11:44:56 +00:00
hot fix jwt
This commit is contained in:
@@ -23,7 +23,7 @@ public class JwtService : IJwtService
|
||||
{
|
||||
var claims = new[]
|
||||
{
|
||||
new Claim("userID", user.Id.ToString()),
|
||||
new Claim("userId", user.Id.ToString()),
|
||||
new Claim(ClaimTypes.Role, _invitesService.GetRoleAsync(user).Result, ClaimValueTypes.String)
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user