Add support to ban users from creating sessions

This commit is contained in:
Marcos Lilljedahl
2019-03-05 16:58:20 -03:00
parent 43fe20fb49
commit 5afc852d2b
4 changed files with 43 additions and 1 deletions

View File

@@ -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 {