Files
ravixalgorithm 27020483f0 fix(auth): rate-limit sign-in, sign-up, password reset and live quotes
better-auth's limiter only runs on its /api/auth routes; the sign-in,
sign-up and reset forms call auth.api from server actions, so they had
no limit at all: unlimited password guessing and unlimited reset emails
through the app's Gmail. Counters live in MongoDB so every serverless
instance shares them. /api/quotes is capped per user by symbols.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 06:03:22 +05:30
..