diff --git a/packages/pds/src/api/com/atproto/server/createAccount.ts b/packages/pds/src/api/com/atproto/server/createAccount.ts index fb4ff78708b..54d4ec5a564 100644 --- a/packages/pds/src/api/com/atproto/server/createAccount.ts +++ b/packages/pds/src/api/com/atproto/server/createAccount.ts @@ -30,6 +30,12 @@ export default function (server: Server, ctx: AppContext) { }, handler: async ({ input, req }) => { const hasAvailability = await ctx.signupLimiter.hasAvailability() + // temporary hack: don't queue android users (user-agent `okhttp/*`) since the latest version of app isn't rolled out on that platform yet + if (!hasAvailability && req.header('user-agent')?.startsWith('okhttp/')) { + throw new InvalidRequestError( + `We've had a burst of activity and are temporarily limiting signups. Please check back soon!`, + ) + } const { did, diff --git a/packages/pds/src/mailer/templates/account-activated.hbs b/packages/pds/src/mailer/templates/account-activated.hbs index 58d459ae7b5..d29327fec43 100644 --- a/packages/pds/src/mailer/templates/account-activated.hbs +++ b/packages/pds/src/mailer/templates/account-activated.hbs @@ -1,139 +1,450 @@ -
- - - - - + + + + + - -
-
|