Teacher login and logged in methods

This commit is contained in:
SowinskiBraeden committed 2021-10-09 09:55:39 -07:00
1 parent 0a357a7c2b
commit 13aaf36da7
2 files changed
+103 -6

No files matched your search

+1 -1
View File
@@ -25,7 +25,7 @@ type Teacher struct {
LastName string `json:"lastname" validate:"required"`
Email string `json:"email" validate:"required"`
SchoolEmail string `json:"schoolemail"`
Password string `json:"password" validate:"min=10,max=32"`
Password string `json:"-" validate:"min=10,max=32"`
TempPassword bool `json:"temppassword"`
TID string `json:"tid"` // Teacher ID
Homeroom string `json:"homeroom"`