This commit is contained in:
barisusakli
2017-04-22 19:07:57 -04:00
parent b91b41dfa3
commit 33e8ecc1f4
9 changed files with 33 additions and 38 deletions

View File

@@ -97,7 +97,7 @@ module.exports = function (middleware) {
db.get('uid:' + req.uid + ':confirm:email:sent', next);
},
navigation: async.apply(navigation.get),
tags: async.apply(meta.tags.parse, res.locals.metaTags, res.locals.linkTags),
tags: async.apply(meta.tags.parse, req, res.locals.metaTags, res.locals.linkTags),
banned: async.apply(user.isBanned, req.uid),
banReason: async.apply(user.getBannedReason, req.uid),
}, next);