update/router-handler

This commit is contained in:
SowinskiBraeden committed 2022-01-26 09:35:31 -08:00
1 parent ae01dd80cc
commit 38667718a2
2 files changed
+14 -6

No files matched your search

+1 -1
View File
@@ -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{