From 783222cf0a6ec4d339b9f67cf007e27472357501 Mon Sep 17 00:00:00 2001 From: Kelvin Samuel Date: Tue, 16 Nov 2021 13:55:07 +0700 Subject: [PATCH] edit login page --- routes/registerlogin.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/routes/registerlogin.js b/routes/registerlogin.js index d997cea..778e808 100644 --- a/routes/registerlogin.js +++ b/routes/registerlogin.js @@ -151,10 +151,7 @@ exports.login = async function (req, res) { success: "Sorry You havent verified your email", }); } else { - res.send({ - code: 200, - success: "Login Successful!!", - }); + res.render("pages/index"); } } else { res.send({