Login and main router with jwt tokens
This commit is contained in:
1 parent
7049abf5d8
commit
0a357a7c2b
6 files changed
+219
-26
No files matched your search
@@ -20,7 +20,7 @@ type Student struct {
|
||||
GradeLevel int `json:"gradelevel" 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"`
|
||||
SID string `json:"sid"` // Student ID
|
||||
PEN string `json:"ped"` // Personal Education Number
|
||||
|
||||
Reference in new issue
Block a user