fix: derp

This commit is contained in:
Julian Lam
2022-01-28 15:16:01 -05:00
parent ea27eaf166
commit b3f7b742c1

View File

@@ -219,7 +219,6 @@ Emailer.send = async (template, uid, params) => {
}
let userData = await User.getUserFields(uid, ['email', 'username', 'email:confirmed', 'banned']);
userData.banned = true;
// 'welcome' and 'verify-email' explicitly used passed-in email address
if (['welcome', 'verify-email'].includes(template)) {