fix username change event log

v1.18.x
barisusakli 10 years ago
parent 92c869e886
commit 652e247d1b

@ -100,7 +100,7 @@ module.exports = function(User) {
return callback(err); return callback(err);
} }
plugins.fireHook('action:user.updateProfile', {data: data, uid: uid}); plugins.fireHook('action:user.updateProfile', {data: data, uid: uid});
User.getUserFields(uid, ['email', 'userslug', 'picture', 'gravatarpicture'], callback); User.getUserFields(uid, ['email', 'username', 'userslug', 'picture', 'gravatarpicture'], callback);
}); });
}); });

Loading…
Cancel
Save