mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-08 15:05:46 +01:00
closes #1254
This commit is contained in:
@@ -131,7 +131,7 @@ middleware.checkAccountPermissions = function(req, res, next) {
|
||||
}
|
||||
|
||||
if(isAdmin) {
|
||||
next();
|
||||
return next();
|
||||
}
|
||||
|
||||
if (res.locals.isAPI) {
|
||||
|
||||
Reference in New Issue
Block a user