From b3f7b742c1c1852b156b1ed562011edb22cbc84e Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Fri, 28 Jan 2022 15:16:01 -0500 Subject: [PATCH] fix: derp --- src/emailer.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/emailer.js b/src/emailer.js index c196658b1f..25e598776c 100644 --- a/src/emailer.js +++ b/src/emailer.js @@ -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)) {