debug/fix-incorrect-email-check

This commit is contained in:
SowinskiBraeden committed 2022-02-08 13:34:40 -08:00
1 parent fe57b7b83e
commit 9bc6a186d0
1 file changed
+1 -1
+1 -1
View File
@@ -340,7 +340,7 @@ func ResetStudentPassword(c *fiber.Ctx) error {
})
}
if student.PersonalData.Email == data["email"] {
if student.PersonalData.Email != data["email"] {
cancel()
return c.Status(fiber.StatusUnauthorized).JSON(fiber.Map{
"success": false,