From 00552d7183f0416a0caa113fe2f1e658659648f7 Mon Sep 17 00:00:00 2001 From: Andrew Rodrigues Date: Mon, 15 Apr 2019 12:36:09 -0400 Subject: [PATCH] fix: fire filter:register.complete for users approved via registration queue --- src/user/approval.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/user/approval.js b/src/user/approval.js index f0a5a77b98..b0c7769422 100644 --- a/src/user/approval.js +++ b/src/user/approval.js @@ -108,6 +108,9 @@ module.exports = function (User) { function (next) { markNotificationRead(username, next); }, + function (next) { + plugins.fireHook('filter:register.complete', { uid: uid }, next); + }, function (next) { var title = meta.config.title || meta.config.browserTitle || 'NodeBB'; var data = {