mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-29 18:16:17 +01:00
fix: fire filter:register.complete for users approved via registration queue
This commit is contained in:
@@ -108,6 +108,9 @@ module.exports = function (User) {
|
|||||||
function (next) {
|
function (next) {
|
||||||
markNotificationRead(username, next);
|
markNotificationRead(username, next);
|
||||||
},
|
},
|
||||||
|
function (next) {
|
||||||
|
plugins.fireHook('filter:register.complete', { uid: uid }, next);
|
||||||
|
},
|
||||||
function (next) {
|
function (next) {
|
||||||
var title = meta.config.title || meta.config.browserTitle || 'NodeBB';
|
var title = meta.config.title || meta.config.browserTitle || 'NodeBB';
|
||||||
var data = {
|
var data = {
|
||||||
|
|||||||
Reference in New Issue
Block a user