mirror of
https://github.com/overleaf/overleaf.git
synced 2025-01-07 09:23:53 +00:00
Merge pull request #13866 from overleaf/jk-managed-users-dont-send-email
[web] Don't send email to offboarded user GitOrigin-RevId: 6ed1fc875d5476c1c054a72d9188214d582e1b4b
This commit is contained in:
parent
bf92436e6f
commit
773d83dd17
1 changed files with 0 additions and 24 deletions
|
@ -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({
|
templates.securityAlert = NoCTAEmailTemplate({
|
||||||
subject(opts) {
|
subject(opts) {
|
||||||
return `Overleaf security note: ${opts.action}`
|
return `Overleaf security note: ${opts.action}`
|
||||||
|
|
Loading…
Reference in a new issue