Add support to ban users from creating sessions
This commit is contained in:
@@ -7,6 +7,7 @@ type User struct {
|
||||
Avatar string `json:"avatar" bson:"avatar"`
|
||||
Provider string `json:"provider" bson:"provider"`
|
||||
Email string `json:"email" bson:"email"`
|
||||
IsBanned bool `json:"banned" bson:"banned"`
|
||||
}
|
||||
|
||||
type LoginRequest struct {
|
||||
|
||||
Reference in New Issue
Block a user