diff --git a/packages/pds/src/api/com/atproto/server/createSession.ts b/packages/pds/src/api/com/atproto/server/createSession.ts index aee0063d86c..3769cda08a6 100644 --- a/packages/pds/src/api/com/atproto/server/createSession.ts +++ b/packages/pds/src/api/com/atproto/server/createSession.ts @@ -11,12 +11,12 @@ export default function (server: Server, ctx: AppContext) { { durationMs: DAY, points: 300, - calcKey: ({ input }) => input.body.identifier, + calcKey: ({ input, req }) => `${input.body.identifier}-${req.ip}`, }, { durationMs: 5 * MINUTE, points: 30, - calcKey: ({ input }) => input.body.identifier, + calcKey: ({ input, req }) => `${input.body.identifier}-${req.ip}`, }, ], handler: async ({ input }) => {