email users their id

This commit is contained in:
SowinskiBraeden committed 2022-06-14 13:17:59 -07:00
1 parent e2d085a534
commit 459ddf542a
4 files changed
+134 -1

No files matched your search

+1
View File
@@ -45,6 +45,7 @@ type Teacher struct {
PhotoName string `json:"photoname"` // name of photo in db
} `json:"schooldata"`
AccountData struct {
VerifiedEmail bool `json:"verifiedemail"`
SchoolEmail string `json:"schoolemail"`
Password string `json:"-" validate:"min=10,max=32"`
AccountDisabled bool `bson:"accountdisabled"`