mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-03 04:25:55 +01:00
@@ -346,10 +346,6 @@ accountsController.accountSettings = function(req, res, next) {
|
||||
return userNotFound(res);
|
||||
}
|
||||
|
||||
if (parseInt(userData.uid, 10) !== callerUID) {
|
||||
return userNotAllowed(res);
|
||||
}
|
||||
|
||||
async.parallel({
|
||||
settings: function(next) {
|
||||
plugins.fireHook('filter:user.settings', [], next);
|
||||
|
||||
Reference in New Issue
Block a user