From 773d83dd17fc231d8fd8f5e27f79db580ad176a3 Mon Sep 17 00:00:00 2001 From: June Kelly Date: Fri, 14 Jul 2023 10:12:19 +0100 Subject: [PATCH] Merge pull request #13866 from overleaf/jk-managed-users-dont-send-email [web] Don't send email to offboarded user GitOrigin-RevId: 6ed1fc875d5476c1c054a72d9188214d582e1b4b --- .../app/src/Features/Email/EmailBuilder.js | 24 ------------------- 1 file changed, 24 deletions(-) diff --git a/services/web/app/src/Features/Email/EmailBuilder.js b/services/web/app/src/Features/Email/EmailBuilder.js index 6b314246fc..40abeeb1a7 100644 --- a/services/web/app/src/Features/Email/EmailBuilder.js +++ b/services/web/app/src/Features/Email/EmailBuilder.js @@ -498,30 +498,6 @@ templates.userOnboardingEmail = NoCTAEmailTemplate({ }, }) -templates.managedUserOffboarded = ctaTemplate({ - subject() { - return `Your account has been deleted - ${settings.appName}` - }, - title() { - return `Your account has been deleted` - }, - message() { - return [ - 'Your group administrator has deleted your account. Contact your administrator to learn more about it.', - 'You can create a new account if you want to use a different email address.', - ] - }, - secondaryMessage() { - return [] - }, - ctaText() { - return 'Create a new account' - }, - ctaURL() { - return `${settings.siteUrl}/register` - }, -}) - templates.securityAlert = NoCTAEmailTemplate({ subject(opts) { return `Overleaf security note: ${opts.action}`