mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
fix: derp
This commit is contained in:
@@ -219,7 +219,6 @@ Emailer.send = async (template, uid, params) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
let userData = await User.getUserFields(uid, ['email', 'username', 'email:confirmed', 'banned']);
|
let userData = await User.getUserFields(uid, ['email', 'username', 'email:confirmed', 'banned']);
|
||||||
userData.banned = true;
|
|
||||||
|
|
||||||
// 'welcome' and 'verify-email' explicitly used passed-in email address
|
// 'welcome' and 'verify-email' explicitly used passed-in email address
|
||||||
if (['welcome', 'verify-email'].includes(template)) {
|
if (['welcome', 'verify-email'].includes(template)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user