edit login page

This commit is contained in:
Kelvin Samuel 2021-11-16 13:55:07 +07:00
parent 3ac53b3e65
commit 783222cf0a

View file

@ -151,10 +151,7 @@ exports.login = async function (req, res) {
success: "Sorry You havent verified your email", success: "Sorry You havent verified your email",
}); });
} else { } else {
res.send({ res.render("pages/index");
code: 200,
success: "Login Successful!!",
});
} }
} else { } else {
res.send({ res.send({