mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-27 09:49:52 +01:00
nothing
This commit is contained in:
@@ -221,13 +221,13 @@ var utils = require('./../public/src/utils.js'),
|
||||
RDB.lpush('userlist', username);
|
||||
io.sockets.emit('user.latest', {userslug: userslug, username: username});
|
||||
|
||||
callback(null, uid);
|
||||
|
||||
if (password) {
|
||||
User.hashPassword(password, function(hash) {
|
||||
RDB.hset('user:'+uid, 'password', hash);
|
||||
User.setUserField(uid, 'password', hash);
|
||||
});
|
||||
}
|
||||
|
||||
callback(null, uid);
|
||||
});
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user