This commit is contained in:
barisusakli
2014-09-29 12:30:03 -04:00
parent 8b0685754e
commit d303dea6c7
5 changed files with 39 additions and 0 deletions

View File

@@ -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);