Merge pull request #3488 from overleaf/hb-update-email-confirmation-wording

Add email and support email to confirmation email message

GitOrigin-RevId: 5f3a31d1db9f4fd8efbe79adea31703dd559066d
This commit is contained in:
Timothée Alby 2021-01-05 11:56:47 +01:00 committed by Copybot
parent 0040c31b1f
commit fc38e20dfb

View file

@ -223,8 +223,20 @@ templates.confirmEmail = ctaTemplate({
title() {
return 'Confirm Email'
},
message() {
return [`Please confirm your email on ${settings.appName}.`]
message(opts) {
return [
`Please confirm that you have added a new email, ${opts.to}, to your ${
settings.appName
} account.`
]
},
secondaryMessage() {
return [
'If you did not request this, you can simply ignore this message.',
`If you have any questions or trouble confirming your email address, please get in touch with our support team at ${
settings.adminEmail
}.`
]
},
ctaText() {
return 'Confirm Email'