update/router-handler
This commit is contained in:
1 parent
ae01dd80cc
commit
38667718a2
2 files changed
+14
-6
No files matched your search
@@ -309,7 +309,7 @@ func ResetStudentPassword(c *fiber.Ctx) error {
|
||||
})
|
||||
}
|
||||
|
||||
// Check required fields are included
|
||||
// Check required fields are included (email must be personal email)
|
||||
if data["sid"] == "" || data["email"] == "" {
|
||||
cancel()
|
||||
return c.Status(fiber.StatusBadRequest).JSON(fiber.Map{
|
||||
|
||||
Reference in new issue
Block a user