From 212820bc93e1768ae130935ae7bb9a5b0b02a8ef Mon Sep 17 00:00:00 2001 From: Moe Date: Thu, 7 Apr 2022 11:14:59 +0700 Subject: [PATCH] Update Login Response (Without OTP) --- routes/api.js | 1 + 1 file changed, 1 insertion(+) diff --git a/routes/api.js b/routes/api.js index 703fa80..80c2243 100644 --- a/routes/api.js +++ b/routes/api.js @@ -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, }); }