Merge branch 'master' of github.com:psychobunny/node-forum

This commit is contained in:
Julian Lam
2013-04-23 16:18:50 -04:00
4 changed files with 25 additions and 14 deletions

View File

@@ -68,6 +68,13 @@ var config = require('../config.js'),
io.sockets.emit('user.latest', {username: username});
global.socket.emit('user.create', {'status': 1});
global.socket.emit('event:alert', {
title: 'Thank you for registering',
message: 'You have successfully registered - welcome to nodebb!',
type: 'notify',
timeout: 2000
});
});
});
};