complete login with password controller and services

This commit is contained in:
rafiarrafif
2025-05-11 19:50:45 +07:00
parent 7adda16a6b
commit ed8840ee1f
7 changed files with 50 additions and 6 deletions

View File

@ -17,6 +17,12 @@ export const createUserSessionRepo = async (
},
},
},
omit: {
lastOnline: true,
deletedAt: true,
createdAt: true,
updatedAt: true,
},
});
return newUserRole;
} catch (error) {