Update Login Response (Without OTP)

This commit is contained in:
Moe Poi ~ 2022-04-07 11:14:59 +07:00
parent 272656e80d
commit 212820bc93

View file

@ -252,6 +252,7 @@ router.post("/login", async (req, res) => {
last_name: response[0].last_name,
email: response[0].email,
verify: response[0].verify == 1 ? true : false,
otp: response[0].otp == 1 ? true : false,
session_token: token,
});
}