remotes/1693045480750635534/spooky-22
Aevann1 2021-07-30 16:43:53 +02:00
parent 8e10a271ae
commit 01a613840e
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ from .front import frontlist
@app.get("/admin/patrons")
@auth_required
def shadowbanned(v):
def patrons(v):
if v and v.is_banned and not v.unban_utc: return render_template("seized.html")
if not (v and v.admin_level == 6): abort(404)
users = [x for x in g.db.query(User).filter_by(patron = True).all()]