Node.js based forum software built for the modern web
add the pending email so it is displayed in acp
Barış Soner Uşaklıcc1672882cf8
diff --git a/src/controllers/admin/users.js b/src/controllers/admin/users.jsindex 6d89332ac6..149d17126f 100644--- a/src/controllers/admin/users.js+++ b/src/controllers/admin/users.js@@ -191,6 +191,7 @@ async function loadUserInfo(callerUid, uids) {const confirmObj = confirmObjs[index];user['email:expired'] = !confirmObj.expires || Date.now() >= confirmObj.expires;user['email:pending'] = confirmObj.expires && Date.now() < confirmObj.expires;+ user.email = confirmObj.email;}}});