mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-31 02:55:58 +01:00 
			
		
		
		
	registration bugfix
This commit is contained in:
		| @@ -26,11 +26,11 @@ var RDB = require('../RedisDB.js'); | ||||
| 				RDB.set('uid:' + uid + ':password', password); | ||||
| 				 | ||||
| 				RDB.incr('user:count', function(count) { | ||||
| 					io.sockets.emit('user.count', {count: count}); | ||||
| 					global.io.sockets.emit('user.count', {count: count}); | ||||
| 				}); | ||||
|  | ||||
| 				RDB.lpush('user:users', username); | ||||
| 				io.sockets.emit('user.latest', {username: username}); | ||||
| 				global.io.sockets.emit('user.latest', {username: username}); | ||||
|  | ||||
| 				global.socket.emit('user.create', {'status': 1}); | ||||
| 			}); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user