Skip to content

fix(auth): remove unused AuthNonce logic and properly prune UsedChallenge#389

Open
Auwal007 wants to merge 2 commits into
geevapp:mainfrom
Auwal007:fix-auth-prune-16133458079800975946
Open

fix(auth): remove unused AuthNonce logic and properly prune UsedChallenge#389
Auwal007 wants to merge 2 commits into
geevapp:mainfrom
Auwal007:fix-auth-prune-16133458079800975946

Conversation

@Auwal007

@Auwal007 Auwal007 commented Jun 26, 2026

Copy link
Copy Markdown

closes #359

Removed dead code related to legacy AuthNonce from Prisma schemas and api endpoint. Ensured UsedChallenge retains the 15-minute challenge prune logic while receiving an optimized usedAt index for faster delete operations via Vercel Cron.

@Auwal007 Auwal007 changed the title Fix auth prune 16133458079800975946 fix(auth): remove unused AuthNonce logic and properly prune UsedChallenge Jun 26, 2026
@3m1n3nc3

Copy link
Copy Markdown
Contributor
image Why are there no code changes in your PR?

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.

Orphaned /api/auth/nonce writes unbounded rows; UsedChallenge and AuthNonce are never pruned

2 participants