Node.js based forum software built for the modern web
filter:register.check change #1527
barisusakli76c16c0383f8
diff --git a/src/routes/authentication.js b/src/routes/authentication.jsindex c4b70ee712..fc5444e1cd 100644--- a/src/routes/authentication.js+++ b/src/routes/authentication.js@@ -113,7 +113,7 @@}}- plugins.fireHook('filter:register.check', req, res, userData, function(err, req, res, userData) {+ plugins.fireHook('filter:register.check', {req: req, res: res, userData: userData}, function(err, data) {if (err) {return res.redirect(nconf.get('relative_path') + '/register' + (err.message ? '?error=' + err.message : ''));}