Teacher login and logged in methods
This commit is contained in:
1 parent
0a357a7c2b
commit
13aaf36da7
2 files changed
+103
-6
No files matched your search
@@ -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"`
|
||||
|
||||
Reference in new issue
Block a user