Skip to content

Node.js based forum software built for the modern web

action:user.updateProfile

barisusaklif1a3815ddc69
diff --git a/src/user/profile.js b/src/user/profile.js
index b901bdb066..13f29591c0 100644
--- a/src/user/profile.js
+++ b/src/user/profile.js
@@ -96,7 +96,7 @@ module.exports = function(User) {
if (err) {
return callback(err);
}
-
+ plugins.fireHook('action:user.updateProfile', {data: data, uid: uid});
User.getUserFields(uid, ['email', 'userslug', 'picture', 'gravatarpicture'], callback);
});
});