From 73b72c6cce88d7353392ee1b38850f2273d2f165 Mon Sep 17 00:00:00 2001 From: Timur Ercan Date: Sun, 21 May 2023 20:10:06 +0200 Subject: [PATCH] fix NEXT_PUBLIC_ALLOW_SIGNUP reference --- apps/web/pages/signup.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/pages/signup.tsx b/apps/web/pages/signup.tsx index 689444de9..2f020fa6e 100644 --- a/apps/web/pages/signup.tsx +++ b/apps/web/pages/signup.tsx @@ -15,7 +15,7 @@ export default function SignupPage(props: { source: string }) { } export async function getServerSideProps(context: any) { - if (process.env.ALLOW_SIGNUP !== "true") + if (process.env.NEXT_PUBLIC_ALLOW_SIGNUP !== "true") return { redirect: { destination: "/login",