diff --git a/src/controllers/admin/dashboard.js b/src/controllers/admin/dashboard.js index bf9081ced9..89d8c1b222 100644 --- a/src/controllers/admin/dashboard.js +++ b/src/controllers/admin/dashboard.js @@ -21,7 +21,7 @@ dashboardController.get = async function (req, res) { getNotices(), getLatestVersion(), getLastRestart(), - user.isAdministrator(), + user.isAdministrator(req.uid), ]); const version = nconf.get('version');