diff --git a/routes/admin/index.php b/routes/admin/index.php index fa292bd..b4c3698 100644 --- a/routes/admin/index.php +++ b/routes/admin/index.php @@ -104,7 +104,7 @@ $this->respond('POST', '/user/list/unapproved', function() { if (Authentication::verifySession()) { - $perms['view'] = Authentication::checkPermission('panel.viewuser'); + $perms['view'] = Authentication::checkPermission('panel.viewusers'); if ($perms['view']) { $accounts = User::getUnapproved(); } else {