mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-05 20:11:26 +01:00
Merge pull request #1541 from akhoury/master
filter:register.build now returns what it was passed, in order.
This commit is contained in:
@@ -207,7 +207,7 @@ Controllers.register = function(req, res, next) {
|
||||
data.minimumPasswordLength = meta.config.minimumPasswordLength;
|
||||
data.termsOfUse = meta.config.termsOfUse;
|
||||
|
||||
plugins.fireHook('filter:register.build', req, res, data, function(err, data) {
|
||||
plugins.fireHook('filter:register.build', req, res, data, function(err, req, res, data) {
|
||||
if (err && process.env === 'development') {
|
||||
winston.warn(JSON.stringify(err));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user