Skip to content

fix(auth): gate dev-login from production registration#353

Open
Ridanshi wants to merge 1 commit into
Dev-Card:mainfrom
Ridanshi:fix/dev-login-production-gating
Open

fix(auth): gate dev-login from production registration#353
Ridanshi wants to merge 1 commit into
Dev-Card:mainfrom
Ridanshi:fix/dev-login-production-gating

Conversation

@Ridanshi
Copy link
Copy Markdown
Contributor

Closes #298

Summary

Adds focused regression coverage for /auth/dev-login production gating.

The underlying route guard already exists on latest upstream/main:

if (process.env.NODE_ENV !== 'production') {
  app.post('/dev-login', ...)
}

@Harxhit Harxhit added the gssoc:approved Required label for every approved PR. Gives the base +50 points and enables contribution tracking. label May 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gssoc:approved Required label for every approved PR. Gives the base +50 points and enables contribution tracking.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unauthenticated JWT issuance via /dev-login remains active in production

2 participants