Skip to content

The Open Source DocuSign Alternative.

qoc

Timur Ercandd67e1a6f049
diff --git a/apps/web/pages/signup.tsx b/apps/web/pages/signup.tsx
index 3ff8e714e..b59fd6e79 100644
--- a/apps/web/pages/signup.tsx
+++ b/apps/web/pages/signup.tsx
@@ -14,7 +14,6 @@ export default function SignupPage(props: { source: string }) {
}
export async function getServerSideProps(context: any) {
- const signupSource: string = context.query["source"];
if (process.env.ALLOW_SIGNUP !== "true")
return {
redirect: {
@@ -23,6 +22,7 @@ export async function getServerSideProps(context: any) {
},
};
+ const signupSource: string = context.query["source"];
return {
props: {
source: signupSource ? signupSource : "",