From 652e247d1bc7b4ee12155c01267afa8de1f00c71 Mon Sep 17 00:00:00 2001 From: barisusakli Date: Thu, 5 Feb 2015 23:21:31 -0500 Subject: [PATCH] fix username change event log --- src/user/profile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/user/profile.js b/src/user/profile.js index 461f1d9bb8..829c143505 100644 --- a/src/user/profile.js +++ b/src/user/profile.js @@ -100,7 +100,7 @@ module.exports = function(User) { return callback(err); } 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); }); });