mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-05 05:25:49 +01:00
closes #1986
This commit is contained in:
@@ -126,6 +126,8 @@
|
||||
|
||||
require('../socket.io').emitUserCount();
|
||||
|
||||
user.notifications.sendWelcomeNotification(uid);
|
||||
|
||||
plugins.fireHook('filter:register.complete', uid, req.body.referrer, function(err, uid, destination) {
|
||||
if (destination) {
|
||||
res.redirect(nconf.get('relative_path') + destination);
|
||||
|
||||
Reference in New Issue
Block a user