fix: base_url for login link should be WEBAPP_URL not WEBSITE_URL (#3637)

feat/recurring-payments
Agusti Fernandez Pardo 2022-08-02 18:05:09 +02:00 committed by GitHub
parent 760026b2e6
commit fd8b323e47
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ import path from "path";
import checkLicense from "@calcom/features/ee/common/server/checkLicense";
import ImpersonationProvider from "@calcom/features/ee/impersonation/lib/ImpersonationProvider";
import { WEBSITE_URL } from "@calcom/lib/constants";
import { WEBAPP_URL, WEBSITE_URL } from "@calcom/lib/constants";
import { symmetricDecrypt } from "@calcom/lib/crypto";
import { defaultCookies } from "@calcom/lib/default-cookies";
import { serverConfig } from "@calcom/lib/serverConfig";
@ -174,7 +174,7 @@ if (true) {
to: identifier,
subject: "Your sign-in link for Cal.com",
html: emailTemplate({
base_url: WEBSITE_URL,
base_url: WEBAPP_URL,
signin_url: url,
email: identifier,
}),