From 7106115dda890321f34f717861cc6a694d36a25d Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Wed, 25 Sep 2024 19:56:39 +0530 Subject: [PATCH] chore: remove console.log --- server/src/routes/auth.ts | 2 -- 1 file changed, 2 deletions(-) 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')