Skip to content

Node.js based forum software built for the modern web

dont show gaps in admin manage users due to AP users

Barış Soner Uşaklı3de668794dbc
diff --git a/src/controllers/admin/users.js b/src/controllers/admin/users.js
index a1f48f35b1..4b5e89d145 100644
--- a/src/controllers/admin/users.js
+++ b/src/controllers/admin/users.js
@@ -101,7 +101,7 @@ async function getUsers(req, res) {
]);
await render(req, res, {
- users: users.filter(user => user && parseInt(user.uid, 10)),
+ users: users.filter(user => user && user.userslug),
page: page,
pageCount: Math.max(1, Math.ceil(count / resultsPerPage)),
resultsPerPage: resultsPerPage,