This commit is contained in:
Moe Poi ~ 2021-11-16 15:48:43 +07:00
commit e07c27d476

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({