filter:user.account

v1.18.x
barisusakli 10 years ago
parent 719290cd2b
commit f3d485bd58

@ -198,7 +198,12 @@ accountsController.getAccount = function(req, res, next) {
userData.profileviews = 1; userData.profileviews = 1;
} }
res.render('account/profile', userData); plugins.fireHook('filter:user.account', {userData: userData, uid: callerUID}, function(err, data) {
if (err) {
return next(err);
}
res.render('account/profile', data.userData);
});
}); });
}); });
}; };

Loading…
Cancel
Save