diff --git a/app.js b/app.js index c21f003..69d070e 100644 --- a/app.js +++ b/app.js @@ -225,7 +225,6 @@ app.post('/login', async (req, res) => { const { username, password } = req.body; try { const userResult = await pool.query("SELECT *, CASE WHEN admin_temp IS NOT NULL AND (now() - admin_temp) > interval '22 hours' THEN 'expired' ELSE 'valid' END AS admin_status FROM users WHERE username = $1", [ username]); - console.log(userResult.rows[0]); if (userResult.rows.length > 0) { const user = userResult.rows[0]; const match = await bcrypt.compare(password, user.password);