use support email (.env) in password reset mail (#7181)
release.yml / release (push) Canceled after 0s

This commit is contained in:
Peer Richelsen
2023-02-17 16:44:42 +00:00
committed by GitHub
parent 578308a8cb
commit 5da76c698e
@@ -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>
</>