mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-01 03:26:04 +01:00
Merge pull request #3908 from pitaj/master
Maximum invites and invites are stored
This commit is contained in:
@@ -117,7 +117,7 @@ Controllers.register = function(req, res, next) {
|
||||
|
||||
async.waterfall([
|
||||
function(next) {
|
||||
if (registrationType === 'invite-only') {
|
||||
if (registrationType === 'invite-only' || registrationType === 'admin-invite-only') {
|
||||
user.verifyInvitation(req.query, next);
|
||||
} else {
|
||||
next();
|
||||
|
||||
Reference in New Issue
Block a user