add authAdminMiddlware into package auth. Need test it
This commit is contained in:
@@ -15,4 +15,5 @@ type Claims struct {
|
||||
jwt.RegisteredClaims
|
||||
Email string `json:"email"`
|
||||
Phone string `json:"phone"`
|
||||
Role string `json:"role"`
|
||||
}
|
||||
Reference in New Issue
Block a user