Changed text so user cant exploit the login to check which email is registered by trying random emails

This commit is contained in:
Matthew Patrick 2021-11-18 13:31:08 +07:00
parent 796ca77d17
commit be87ac2992

View file

@ -53,7 +53,7 @@ router
} else if (data[0] == 205) { } else if (data[0] == 205) {
res.render("pages/login", { res.render("pages/login", {
companyName: "SALAH", companyName: "SALAH",
error: "The Email you provided is not registered in our website", error: "Wrong Email or Password",
}); });
} else { } else {
res.render("pages/login", { res.render("pages/login", {