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",
});
} else {
res.send({
code: 200,
success: "Login Successful!!",
});
res.render("pages/index");
}
} else {
res.send({