Merge branch 'master' of github.com:designcreateplay/NodeBB

v1.18.x
Julian Lam 11 years ago
commit 029b91a323

@ -307,6 +307,9 @@ var bcrypt = require('bcrypt'),
User.setUserField(uid, 'username', data.username);
db.deleteObjectField('username:uid', userData.username);
db.setObjectField('username:uid', data.username, uid);
db.searchRemove('user', uid, function() {
db.searchIndex('user', data.username, uid);
});
}
if(userslug !== userData.userslug) {

Loading…
Cancel
Save