mirror of
https://github.com/overleaf/overleaf.git
synced 2024-10-24 21:12:38 -04:00
e08057828f
* [CE/SP] Hotfix 5.1.1 and 4.2.8 * Add script to build hotfix releases GitOrigin-RevId: 8ece5e5fd5ec360b66069ce774319511ed82a13a
26 lines
1.4 KiB
Diff
26 lines
1.4 KiB
Diff
diff --git a/services/web/app/src/Features/Email/EmailBuilder.js b/services/web/app/src/Features/Email/EmailBuilder.js
|
|
index 46d014a8e14..d839d67f634 100644
|
|
--- a/services/web/app/src/Features/Email/EmailBuilder.js
|
|
+++ b/services/web/app/src/Features/Email/EmailBuilder.js
|
|
@@ -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}.`,
|
|
]
|
|
},
|
|
diff --git a/services/web/app/src/Features/User/UserRegistrationHandler.js b/services/web/app/src/Features/User/UserRegistrationHandler.js
|
|
index 2802fdc81c5..02c52f73fd2 100644
|
|
--- a/services/web/app/src/Features/User/UserRegistrationHandler.js
|
|
+++ b/services/web/app/src/Features/User/UserRegistrationHandler.js
|
|
@@ -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,
|