fix(auth): rate limit Better Auth routes per client

This commit is contained in:
2026-07-10 11:27:52 -04:00
parent 73f52cdcb1
commit 91e0e4522f
10 changed files with 276 additions and 2 deletions
@@ -74,6 +74,11 @@ function testEnv(sentEmails: ElyEmailMessageBuilder[] | null): Env {
return Promise.resolve({ success: true });
},
},
ELY_AUTH_EMAIL_RATE_LIMITER: {
limit() {
return Promise.resolve({ success: true });
},
},
ELY_API_AUDIT: {
writeDataPoint(): void {},
},