Node.js based forum software built for the modern web
fix: add missing await to sendValidationEmail
Barış Soner Uşaklıf4381ba36639
diff --git a/src/user/profile.js b/src/user/profile.jsindex 19f7e1cc65..ac2e7fbcf8 100644--- a/src/user/profile.js+++ b/src/user/profile.js@@ -198,7 +198,7 @@ module.exports = function (User) {]);if (meta.config.requireEmailConfirmation && newEmail) {- User.email.sendValidationEmail(uid, {+ await User.email.sendValidationEmail(uid, {email: newEmail,subject: '[[email:email.verify-your-email.subject]]',template: 'verify_email',