From fc38e20dfb7fd4baac9d8ff6718cd91b37fabe62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Alby?= Date: Tue, 5 Jan 2021 11:56:47 +0100 Subject: [PATCH] Merge pull request #3488 from overleaf/hb-update-email-confirmation-wording Add email and support email to confirmation email message GitOrigin-RevId: 5f3a31d1db9f4fd8efbe79adea31703dd559066d --- .../web/app/src/Features/Email/EmailBuilder.js | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/services/web/app/src/Features/Email/EmailBuilder.js b/services/web/app/src/Features/Email/EmailBuilder.js index ffcf945b70..db128f1f8d 100644 --- a/services/web/app/src/Features/Email/EmailBuilder.js +++ b/services/web/app/src/Features/Email/EmailBuilder.js @@ -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'