Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

set all instances to show URL

McPizza3c954ea2578f
diff --git a/backend/src/services/smtp/smtp-service.ts b/backend/src/services/smtp/smtp-service.ts
index 9ead50bb72..a2ed85749d 100644
--- a/backend/src/services/smtp/smtp-service.ts
+++ b/backend/src/services/smtp/smtp-service.ts
@@ -54,10 +54,10 @@ export const smtpServiceFactory = (cfg: TSmtpConfig) => {
const isSmtpOn = Boolean(cfg.host);
handlebars.registerHelper("emailFooter", () => {
- const { isCloud, SITE_URL } = getConfig();
- const cloudFooterHtml = `<p style="font-size: 12px;">Infisical - a tool for managing secrets in your organization. <a href="${SITE_URL}">Learn more</a></p>`;
- const selfHostedFooterHtml = `<p style="font-size: 12px;">Email sent via Infisical at <a href="${SITE_URL}">${SITE_URL}</a></p>`;
- return new handlebars.SafeString(isCloud ? cloudFooterHtml : selfHostedFooterHtml);
+ const { SITE_URL } = getConfig();
+ return new handlebars.SafeString(
+ `<p style="font-size: 12px;">Email sent via Infisical at <a href="${SITE_URL}">${SITE_URL}</a></p>`
+ );
});
const sendMail = async ({ substitutions, recipients, template, subjectLine }: TSmtpSendMail) => {