From 7560fdbfc576f7a72ac840f9bef2b9fb92cbe3a3 Mon Sep 17 00:00:00 2001 From: zomars Date: Tue, 9 Aug 2022 17:36:18 -0600 Subject: [PATCH] Squashed commit of the following: commit fc87557902a85bb7b0ec6f15efa19af12685ff0c Author: zomars Date: Fri Aug 5 15:08:36 2022 -0600 Fixes callbackUrl --- auth/signup.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/auth/signup.tsx b/auth/signup.tsx index 8dc735ddab..6a04c71ecc 100644 --- a/auth/signup.tsx +++ b/auth/signup.tsx @@ -9,7 +9,7 @@ import Button from "@calcom/ui/Button"; import { EmailField, PasswordField, TextField } from "@calcom/ui/form/fields"; import { HeadSeo } from "@calcom/web/components/seo/head-seo"; import { asStringOrNull } from "@calcom/web/lib/asStringOrNull"; -import { WEBSITE_URL, WEBAPP_URL } from "@calcom/web/lib/config/constants"; +import { WEBAPP_URL } from "@calcom/web/lib/config/constants"; import prisma from "@calcom/web/lib/prisma"; import { isSAMLLoginEnabled } from "@calcom/web/lib/saml"; import { IS_GOOGLE_LOGIN_ENABLED } from "@calcom/web/server/lib/constants"; @@ -53,7 +53,7 @@ export default function Signup() { .then( async () => await signIn("Cal.com", { - callbackUrl: (`${WEBSITE_URL}/${router.query.callbackUrl}` || "") as string, + callbackUrl: (`${WEBAPP_URL}/${router.query.callbackUrl}` || "") as string, }) ) .catch((err) => {