diff --git a/apps/web/pages/signup.tsx b/apps/web/pages/signup.tsx index f2e6858e1..3ff8e714e 100644 --- a/apps/web/pages/signup.tsx +++ b/apps/web/pages/signup.tsx @@ -15,8 +15,7 @@ export default function SignupPage(props: { source: string }) { export async function getServerSideProps(context: any) { const signupSource: string = context.query["source"]; - - if (process.env.ALLOW_SIGNUP === "false") + if (process.env.ALLOW_SIGNUP !== "true") return { redirect: { destination: "/login",