fix(auth): correct indentation in both rateLimit blocks
- First block: customRules at 10-space indent (inside rateLimit at 8) - Second block: same 10-space indent structure - Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
@@ -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 },
|
||||||
|
|||||||
Reference in New Issue
Block a user