mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-05-06 07:26:13 +02:00
test: fix user email tests
This commit is contained in:
@@ -109,7 +109,7 @@ module.exports = function (User) {
|
||||
}
|
||||
|
||||
if (userData.email && userData.uid > 1) {
|
||||
User.email.sendValidationEmail(userData.uid, {
|
||||
await User.email.sendValidationEmail(userData.uid, {
|
||||
email: userData.email,
|
||||
template: 'welcome',
|
||||
subject: `[[email:welcome-to, ${meta.config.title || meta.config.browserTitle || 'NodeBB'}]]`,
|
||||
|
||||
Reference in New Issue
Block a user