mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-01 03:26:04 +01:00
Finished adding a new delete to also remove the reference from the invites list on the APM.
This commit is contained in:
@@ -93,7 +93,7 @@ function registerAndLoginUser(req, res, userData, callback) {
|
||||
}
|
||||
},
|
||||
function(next) {
|
||||
user.deleteInvitation(userData.email);
|
||||
user.deleteInvitationKey(userData.email);
|
||||
plugins.fireHook('filter:register.complete', {uid: uid, referrer: req.body.referrer || nconf.get('relative_path') + '/'}, next);
|
||||
}
|
||||
], callback);
|
||||
|
||||
Reference in New Issue
Block a user