Node.js based forum software built for the modern web
add hook
barisusakli367078056e89
diff --git a/src/user/profile.js b/src/user/profile.jsindex 01caa931cf..c25dd3bf83 100644--- a/src/user/profile.js+++ b/src/user/profile.js@@ -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);