fix(auth): override Better Auth sign-in rate limit defaults #383

Closed
groombook-engineer[bot] wants to merge 5 commits from fix/gro-1021-auth-rate-limit into dev
Showing only changes of commit 5bb10743ab - Show all commits
+1 -1
View File
@@ -96,7 +96,7 @@ export async function initAuth(): Promise<void> {
max: 100, max: 100,
window: 10, window: 10,
storage: "memory", storage: "memory",
customRules: { customRules: {
"/sign-in/social": { max: 10, window: 60 }, "/sign-in/social": { max: 10, window: 60 },
"/sign-in/email": { max: 10, window: 60 }, "/sign-in/email": { max: 10, window: 60 },
"/sign-up/email": { max: 5, window: 60 }, "/sign-up/email": { max: 5, window: 60 },