diff --git a/server/api/account/update-email.patch.ts b/server/api/account/update-email.patch.ts index 80929ff..2707e9f 100644 --- a/server/api/account/update-email.patch.ts +++ b/server/api/account/update-email.patch.ts @@ -4,7 +4,7 @@ import type { ApiErrorCodes } from '~~/shared/errors'; const bucket = createRatelimitBucket({ id: 'update-email', - points: 3, + points: 10, durationSec: 30 * 60, // 30 minutes blockDurationSec: 1 * 60 * 60 // 1 hour }); diff --git a/server/api/account/verify-email.post.ts b/server/api/account/verify-email.post.ts index d5f67cb..fecc610 100644 --- a/server/api/account/verify-email.post.ts +++ b/server/api/account/verify-email.post.ts @@ -4,7 +4,7 @@ import type { ApiErrorCodes } from '~~/shared/errors'; const bucket = createRatelimitBucket({ id: 'verify-email', - points: 3, + points: 20, durationSec: 30 * 60, // 30 minutes blockDurationSec: 1 * 60 * 60 // 1 hour });