diff --git a/server/src/routes/auth.ts b/server/src/routes/auth.ts index ddb77d40..2aa217e2 100644 --- a/server/src/routes/auth.ts +++ b/server/src/routes/auth.ts @@ -42,8 +42,6 @@ router.post('/login', async (req, res) => { let user = await User.findOne({raw: true, where: { email } }); if (!user) return res.status(400).send('User does not exist'); - console.log('User found:', user.email, user.password); - const match = await comparePassword(password, user.password) if (!match) return res.status(400).send('Invalid email or password')