mirror of
https://github.com/Open-Dev-Society/OpenStock.git
synced 2026-11-16 21:43:57 +08:00
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>