Skip to content

fix OTP verification error response#219

Open
saurabhhhcodes wants to merge 1 commit into
chthonn:mainfrom
saurabhhhcodes:codex/fix-otp-error-response
Open

fix OTP verification error response#219
saurabhhhcodes wants to merge 1 commit into
chthonn:mainfrom
saurabhhhcodes:codex/fix-otp-error-response

Conversation

@saurabhhhcodes

Copy link
Copy Markdown

What changed

  • Replaced the OTP verification failure response with a standard 401 status.
  • Updated the message to incorrect OTP.

Why

  • The previous response used a non-standard status code and referred to a password even though the endpoint validates an OTP.

Validation

  • git diff --check
  • node --check server/src/routes/auth.js

Closes #174

@vercel

vercel Bot commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

Someone is attempting to deploy a commit to the Sunil Kumar's projects Team on Vercel.

A member of the Team first needs to authorize it.

@saurabhhhcodes saurabhhhcodes changed the title [codex] fix OTP verification error response fix OTP verification error response Jun 13, 2026
@saurabhhhcodes saurabhhhcodes marked this pull request as ready for review June 13, 2026 10:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Fix OTP Verification Error Message and HTTP Status Code

1 participant