Skip to content

Node.js based forum software built for the modern web

add banned:expire to user data

Baris Usakli8e5a6d976767
diff --git a/src/posts/user.js b/src/posts/user.js
index f085400967..5af1f8a094 100644
--- a/src/posts/user.js
+++ b/src/posts/user.js
@@ -24,7 +24,7 @@ module.exports = function (Posts) {
user.getUsersFields(uids, [
'uid', 'username', 'fullname', 'userslug',
'reputation', 'postcount', 'picture', 'signature',
- 'banned', 'status', 'lastonline', 'groupTitle',
+ 'banned', 'banned:expire', 'status', 'lastonline', 'groupTitle',
], next);
},
userSettings: function (next) {