From 4127d0f806a5f00b34646f4cf4324857342006c1 Mon Sep 17 00:00:00 2001 From: dholms Date: Sat, 3 Feb 2024 16:12:52 -0600 Subject: [PATCH] tweak again --- .../src/api/com/atproto/server/requestPasswordReset.ts | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/packages/pds/src/api/com/atproto/server/requestPasswordReset.ts b/packages/pds/src/api/com/atproto/server/requestPasswordReset.ts index 22f25925172..fc994ad983b 100644 --- a/packages/pds/src/api/com/atproto/server/requestPasswordReset.ts +++ b/packages/pds/src/api/com/atproto/server/requestPasswordReset.ts @@ -7,15 +7,11 @@ export default function (server: Server, ctx: AppContext) { rateLimit: [ { durationMs: DAY, - points: 15, - calcKey: ({ input, req }) => - `${input.body.email.toLowerCase()}-${req.ip}`, + points: 50, }, { durationMs: HOUR, - points: 5, - calcKey: ({ input, req }) => - `${input.body.email.toLowerCase()}-${req.ip}`, + points: 15, }, ], handler: async ({ input }) => {