Merge pull request #19676 from overleaf/msm-fix-email-support

[CE/SP] Fix email sending and support links

GitOrigin-RevId: faaaacd312d3ec4ccf90bfdefbb62d2701df5cfd
This commit is contained in:
Miguel Serrano 2024-08-01 09:42:19 +02:00 committed by Copybot
parent a99f3a5fd6
commit 6721bbb356
2 changed files with 2 additions and 2 deletions

View file

@ -234,7 +234,7 @@ templates.confirmEmail = ctaTemplate({
},
secondaryMessage() {
return [
'If you did not request this, please let us know at <a href="mailto:support@overleaf.com">support@overleaf.com</a>.',
`If you did not request this, please let us know at <a href="mailto:${settings.adminEmail}">${settings.adminEmail}</a>.`,
`If you have any questions or trouble confirming your email address, please get in touch with our support team at ${settings.adminEmail}.`,
]
},

View file

@ -113,7 +113,7 @@ const UserRegistrationHandler = {
const setNewPasswordUrl = `${settings.siteUrl}/user/activate?token=${token}&user_id=${user._id}`
EmailHandler.promises
await EmailHandler.promises
.sendEmail('registered', {
to: user.email,
setNewPasswordUrl,