mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-03 04:25:55 +01:00
filter:register.check change #1527
This commit is contained in:
@@ -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 : ''));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user