pr_19676.patch 1.4 KB

1234567891011121314151617181920212223242526
  1. diff --git a/services/web/app/src/Features/Email/EmailBuilder.js b/services/web/app/src/Features/Email/EmailBuilder.js
  2. index 46d014a8e14..d839d67f634 100644
  3. --- a/services/web/app/src/Features/Email/EmailBuilder.js
  4. +++ b/services/web/app/src/Features/Email/EmailBuilder.js
  5. @@ -234,7 +234,7 @@ templates.confirmEmail = ctaTemplate({
  6. },
  7. secondaryMessage() {
  8. return [
  9. - 'If you did not request this, please let us know at <a href="mailto:support@overleaf.com">support@overleaf.com</a>.',
  10. + `If you did not request this, please let us know at <a href="mailto:${settings.adminEmail}">${settings.adminEmail}</a>.`,
  11. `If you have any questions or trouble confirming your email address, please get in touch with our support team at ${settings.adminEmail}.`,
  12. ]
  13. },
  14. diff --git a/services/web/app/src/Features/User/UserRegistrationHandler.js b/services/web/app/src/Features/User/UserRegistrationHandler.js
  15. index 2802fdc81c5..02c52f73fd2 100644
  16. --- a/services/web/app/src/Features/User/UserRegistrationHandler.js
  17. +++ b/services/web/app/src/Features/User/UserRegistrationHandler.js
  18. @@ -113,7 +113,7 @@ const UserRegistrationHandler = {
  19. const setNewPasswordUrl = `${settings.siteUrl}/user/activate?token=${token}&user_id=${user._id}`
  20. - EmailHandler.promises
  21. + await EmailHandler.promises
  22. .sendEmail('registered', {
  23. to: user.email,
  24. setNewPasswordUrl,