fix: update signup env var

This commit is contained in:
Mythie
2023-05-06 16:11:56 +10:00
parent 6934e573d5
commit d2c5657093
2 changed files with 3 additions and 3 deletions

View File

@ -24,11 +24,11 @@ export async function getServerSideProps(context: any) {
},
};
const ALLOW_SIGNUP = process.env.ALLOW_SIGNUP === "true";
const ALLOW_SIGNUP = process.env.NEXT_PUBLIC_ALLOW_SIGNUP === "true";
return {
props: {
ALLOW_SIGNUP: ALLOW_SIGNUP,
ALLOW_SIGNUP,
},
};
}