Merge pull request #1208 from tgotowik:hotfix-user-create-mail

GitOrigin-RevId: 8e4c159513533598b1ad3eb223a4a7033a2ef736
This commit is contained in:
Copybot 2024-05-09 08:05:19 +00:00
commit 9ee7c86b41

View file

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