Skip to content

Node.js based forum software built for the modern web

fix: failing test from 00552d7183f0416a0caa113fe2f1e658659648f7

Andrew Rodrigues9bf3517db1f3
diff --git a/src/user/approval.js b/src/user/approval.js
index b0c7769422..dd319485d8 100644
--- a/src/user/approval.js
+++ b/src/user/approval.js
@@ -111,7 +111,7 @@ module.exports = function (User) {
function (next) {
plugins.fireHook('filter:register.complete', { uid: uid }, next);
},
- function (next) {
+ function (result, next) {
var title = meta.config.title || meta.config.browserTitle || 'NodeBB';
var data = {
username: username,