mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-04 21:15:55 +01:00
closes #303
This commit is contained in:
@@ -367,7 +367,7 @@ var user = require('./../user.js'),
|
||||
});
|
||||
return;
|
||||
}
|
||||
console.log(uid, callerUID);
|
||||
|
||||
if (uid !== callerUID || callerUID === '0') {
|
||||
res.json(403, {
|
||||
error: 'Not allowed!'
|
||||
|
||||
Reference in New Issue
Block a user