mirror of
https://gitlab.com/nekoya/web.git
synced 2024-11-14 02:16:19 +01:00
Update Login Response (Without OTP)
This commit is contained in:
parent
272656e80d
commit
212820bc93
1 changed files with 1 additions and 0 deletions
|
@ -252,6 +252,7 @@ router.post("/login", async (req, res) => {
|
||||||
last_name: response[0].last_name,
|
last_name: response[0].last_name,
|
||||||
email: response[0].email,
|
email: response[0].email,
|
||||||
verify: response[0].verify == 1 ? true : false,
|
verify: response[0].verify == 1 ? true : false,
|
||||||
|
otp: response[0].otp == 1 ? true : false,
|
||||||
session_token: token,
|
session_token: token,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue