adding back banReason to header rendering, as it regressed in 1f10e0b

This commit is contained in:
Julian Lam
2016-10-31 11:35:11 -04:00
parent 7a8de6169b
commit 663f05b972

View File

@@ -98,7 +98,8 @@ module.exports = function (middleware) {
},
navigation: async.apply(navigation.get),
tags: async.apply(meta.tags.parse, res.locals.metaTags, res.locals.linkTags),
banned: async.apply(user.isBanned, req.uid)
banned: async.apply(user.isBanned, req.uid),
banReason: async.apply(user.getBannedReason, req.uid)
}, function (err, results) {
if (err) {
return callback(err);