Skip to content

Node.js based forum software built for the modern web

closes #1545

barisusakli05872ad458ea
diff --git a/src/routes/authentication.js b/src/routes/authentication.js
index c008dd2b80..66300dc112 100644
--- a/src/routes/authentication.js
+++ b/src/routes/authentication.js
@@ -76,7 +76,7 @@
email: req.body.email
};
- plugins.fireHook('filter:register.check', req, res, userData, function(err, userData) {
+ plugins.fireHook('filter:register.check', req, res, userData, function(err, req, res, userData) {
if (err) {
return res.redirect(nconf.get('relative_path') + '/register' + (err.message ? '?error=' + err.message : ''));
}