use support email (.env) in password reset mail (#7181)

pull/7196/head v2.6.1
Peer Richelsen 2023-02-17 17:44:42 +01:00 committed by GitHub
parent 578308a8cb
commit 5da76c698e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 2 deletions

View File

@ -1,6 +1,6 @@
import type { TFunction } from "next-i18next";
import { APP_NAME } from "@calcom/lib/constants";
import { APP_NAME, SUPPORT_MAIL_ADDRESS } from "@calcom/lib/constants";
import { BaseEmailHtml, CallToAction } from "../components";
@ -34,7 +34,11 @@ export const ForgotPasswordEmail = (
<p style={{ fontWeight: 400, lineHeight: "24px" }}>
<>
{props.language("have_any_questions")}{" "}
<a href="mailto:support@cal.com" style={{ color: "#3E3E3E" }} target="_blank" rel="noreferrer">
<a
href={`mailto:${SUPPORT_MAIL_ADDRESS}`}
style={{ color: "#3E3E3E" }}
target="_blank"
rel="noreferrer">
<>{props.language("contact_our_support_team")}</>
</a>
</>