From be87ac2992e1a2551c78ae77e30c47da709f4226 Mon Sep 17 00:00:00 2001 From: Matthew Patrick Date: Thu, 18 Nov 2021 13:31:08 +0700 Subject: [PATCH] Changed text so user cant exploit the login to check which email is registered by trying random emails --- routes/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/index.js b/routes/index.js index 806481b..f11f14c 100644 --- a/routes/index.js +++ b/routes/index.js @@ -53,7 +53,7 @@ router } else if (data[0] == 205) { res.render("pages/login", { companyName: "SALAH", - error: "The Email you provided is not registered in our website", + error: "Wrong Email or Password", }); } else { res.render("pages/login", {