misc: addressed PR comments

This commit is contained in:
Sheen Capadngan
2024-05-24 23:45:16 +08:00
parent 9b2b6d61be
commit c0daa11aeb
7 changed files with 79 additions and 69 deletions
@@ -138,6 +138,11 @@ export const authPaswordServiceFactory = ({
code
});
await userDAL.updateById(user.id, {
isLocked: false,
temporaryLockDateEnd: null
});
const token = jwt.sign(
{
authTokenType: AuthTokenType.SIGNUP_TOKEN,