diff --git a/apps/web/app/s/[surveyId]/components/LinkSurvey.tsx b/apps/web/app/s/[surveyId]/components/LinkSurvey.tsx index e93ec140db..0c6b37bbd3 100644 --- a/apps/web/app/s/[surveyId]/components/LinkSurvey.tsx +++ b/apps/web/app/s/[surveyId]/components/LinkSurvey.tsx @@ -108,8 +108,7 @@ export default function LinkSurvey({ if (!surveyState.isResponseFinished() && hasFinishedSingleUseResponse) { return ; } - - if (emailVerificationStatus && emailVerificationStatus !== "verified") { + if (survey.verifyEmail && emailVerificationStatus !== "verified") { if (emailVerificationStatus === "fishy") { return ; } diff --git a/packages/lib/constants.ts b/packages/lib/constants.ts index 95839bfd79..2a654c7d37 100644 --- a/packages/lib/constants.ts +++ b/packages/lib/constants.ts @@ -5,7 +5,7 @@ import { env } from "@/env.mjs"; export const IS_FORMBRICKS_CLOUD = env.IS_FORMBRICKS_CLOUD === "1"; export const REVALIDATION_INTERVAL = 0; //TODO: find a good way to cache and revalidate data when it changes export const SERVICES_REVALIDATION_INTERVAL = 60 * 30; // 30 minutes -export const MAU_LIMIT = IS_FORMBRICKS_CLOUD ? 6000 : 1000000; +export const MAU_LIMIT = IS_FORMBRICKS_CLOUD ? 9000 : 1000000; // URLs export const WEBAPP_URL =