v1.18.x
barisusakli 8 years ago
parent 0c8aa599a0
commit 367078056e

@ -63,6 +63,7 @@ module.exports = function (User) {
}, next);
},
function (next) {
plugins.fireHook('action:user.updateProfile', {uid: uid, data: data, fields: fields, oldData: oldData});
User.getUserFields(updateUid, ['email', 'username', 'userslug', 'picture', 'icon:text', 'icon:bgColor'], next);
}
], callback);

Loading…
Cancel
Save