Skip to content

a2#331

Merged
v-patel merged 1 commit into
mainfrom
a2
May 7, 2026
Merged

a2#331
v-patel merged 1 commit into
mainfrom
a2

Conversation

@nevins321
Copy link
Copy Markdown
Collaborator

remove user data leakage from /api/users/check-email

Fixes #266

@nevins321 nevins321 requested a review from v-patel May 7, 2026 17:08
@nevins321 nevins321 linked an issue May 7, 2026 that may be closed by this pull request
2 tasks
Copy link
Copy Markdown
Contributor

@v-patel v-patel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good — stops check-email from returning the full user record. The client-side admin role check it removes was not a real security boundary anyway; admin enforcement belongs on the server.

@v-patel v-patel merged commit b3929b5 into main May 7, 2026
@v-patel v-patel deleted the a2 branch May 7, 2026 21:24
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.

A.2 — Lock down POST /api/users/check-email (account enumeration)

2 participants