fixed roleID
This commit is contained in:
+4
-3
@@ -18,9 +18,10 @@ type AuthorizationResponse struct {
|
||||
}
|
||||
|
||||
type Claims struct {
|
||||
UserID string `json:"user_id"`
|
||||
Username string `json:"username"`
|
||||
Role string `json:"role"`
|
||||
UserID string `json:"user_id"`
|
||||
Username string `json:"username"`
|
||||
EmailAddress string `json:"email_address"`
|
||||
RoleID string `json:"role_id"`
|
||||
jwt.RegisteredClaims
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user