diff --git a/files/routes/admin.py b/files/routes/admin.py index 5adb74caf..fef1fd2b2 100644 --- a/files/routes/admin.py +++ b/files/routes/admin.py @@ -340,7 +340,7 @@ def shadowbanned(v): users = g.db.query(User) \ .filter( User.shadowbanned != None, - User.truescore >= 100, + User.truescore >= 10, ) \ .order_by(nullslast(User.last_active.desc())).all() diff --git a/files/routes/users.py b/files/routes/users.py index faa060e81..f2590ac0f 100644 --- a/files/routes/users.py +++ b/files/routes/users.py @@ -174,7 +174,6 @@ def banned(v:User): users = g.db.query(User).filter( User.is_banned != None, or_(User.unban_utc == 0, User.unban_utc > time.time()), - User.truescore >= 100, ) if v.admin_level >= PERMS['VIEW_LAST_ACTIVE']: users = users.order_by(nullslast(User.last_active.desc())) diff --git a/files/templates/admin/shadowbanned.html b/files/templates/admin/shadowbanned.html index 4f1f3e890..a93f5567b 100644 --- a/files/templates/admin/shadowbanned.html +++ b/files/templates/admin/shadowbanned.html @@ -2,7 +2,7 @@ {% block pagetitle %}Shadowbanned Users{% endblock %} {% block content %} -
Shadowbanned Users (>= 100 Truscore)
+
Shadowbanned Users (>= 10 Truscore)
diff --git a/files/templates/banned.html b/files/templates/banned.html index 7814d3a91..10b1f1fe6 100644 --- a/files/templates/banned.html +++ b/files/templates/banned.html @@ -2,7 +2,7 @@ {% block pagetitle %}Banned Users{% endblock %} {% block content %} -
Banned Users (>= 100 Truscore)
+
Banned Users