mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
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:
parent
a99f3a5fd6
commit
6721bbb356
2 changed files with 2 additions and 2 deletions
|
@ -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}.`,
|
||||
]
|
||||
},
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue