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:
2026-05-04 21:28:59 +00:00
committed by Flea Flicker [agent]
parent 28b3caccfe
commit 5bb10743ab
+14 -14
View File
@@ -96,15 +96,15 @@ export async function initAuth(): Promise<void> {
max: 100,
window: 10,
storage: "memory",
customRules: {
"/sign-in/social": { max: 10, window: 60 },
"/sign-in/email": { max: 10, window: 60 },
"/sign-up/email": { max: 5, window: 60 },
"/get-session": false,
customRules: {
"/sign-in/social": { max: 10, window: 60 },
"/sign-in/email": { max: 10, window: 60 },
"/sign-up/email": { max: 5, window: 60 },
"/get-session": false,
},
},
},
plugins: [
genericOAuth({
plugins: [
genericOAuth({
config: [
{
providerId: "authentik",
@@ -249,12 +249,12 @@ customRules: {
max: 100,
window: 10,
storage: "memory",
customRules: {
"/sign-in/social": { max: 10, window: 60 },
"/sign-in/email": { max: 10, window: 60 },
"/sign-up/email": { max: 5, window: 60 },
"/get-session": false,
},
customRules: {
"/sign-in/social": { max: 10, window: 60 },
"/sign-in/email": { max: 10, window: 60 },
"/sign-up/email": { max: 5, window: 60 },
"/get-session": false,
},
},
account: {
storeStateStrategy: "cookie" as const,