mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-01 11:35:55 +01:00
closes #3271
This commit is contained in:
@@ -122,6 +122,7 @@ function render(req, res, data, next) {
|
||||
if (err) {
|
||||
return next(err);
|
||||
}
|
||||
data.templateData.inviteOnly = meta.config.registrationType === 'invite-only';
|
||||
res.render('users', data.templateData);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user