Add Steam auth, platform validators & name gen
This commit is contained in:
@@ -30,7 +30,7 @@ public class TokenService(IOptions<JwtOptions> options) : ITokenService
|
||||
};
|
||||
|
||||
if (profile.IsModerator)
|
||||
claims.Add(new Claim(ClaimTypes.Role, "moderator"));
|
||||
claims.Add(new Claim("role", "moderator"));
|
||||
|
||||
var token = new JwtSecurityToken(
|
||||
issuer: jwtOptions.Issuer,
|
||||
|
||||
Reference in New Issue
Block a user