Procházet zdrojové kódy

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

Add email and support email to confirmation email message

GitOrigin-RevId: 5f3a31d1db9f4fd8efbe79adea31703dd559066d
Timothée Alby před 5 roky
rodič
revize
fc38e20dfb

+ 14 - 2
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'