mirror of
https://github.com/nowcommunity/nowdatabase.git
synced 2026-10-12 19:13:52 +03:00
Remove console.log
This commit is contained in:
@@ -16,7 +16,7 @@ router.post('/login', async (req, res) => {
|
||||
},
|
||||
select: { user_name: true, newpassword: true, user_id: true, now_user_group: true },
|
||||
})
|
||||
console.log({ foundUser })
|
||||
|
||||
const passwordMatches = foundUser && (await bcrypt.compare(password as string, foundUser.newpassword as string))
|
||||
|
||||
if (!passwordMatches) return res.status(403).send()
|
||||
|
||||
Reference in New Issue
Block a user