diff --git a/server/src/routes/auth.js b/server/src/routes/auth.js index dac1f9b..81dc15f 100644 --- a/server/src/routes/auth.js +++ b/server/src/routes/auth.js @@ -204,7 +204,7 @@ router.post("/verify", expressRateLimit("otp"), async (req, res) => { status: 201, }); } - return res.status(432).json({ error: "incorrect passowrd", status: 432 }); + return res.status(400).json({ error: "incorrect OTP", status: 400 }); } const otp = generateOTP();