bug-fix/failing to disable account

This commit is contained in:
SowinskiBraeden committed 2022-05-26 12:46:57 -07:00
1 parent b708f1d815
commit c054e3f065
4 files changed
+75 -41

No files matched your search

+1
View File
@@ -48,6 +48,7 @@ type Student struct {
SchoolEmail string `json:"schoolemail"`
Password string `json:"-" validate:"min=10,max=32"`
AccountDisabled bool `bson:"accountdisabled"`
Alerted bool `bson:"alerted"`
TempPassword bool `json:"temppassword"`
Attempts int `json:"attempts"` // login attempts max 5
HashHistory []string `json:"-"` // List of old hashed passwords (not including auto generated passwords)