forked from rDrama/rDrama
fdfd
parent
cdc6d5f0d9
commit
46ae0c2921
|
@ -25,7 +25,7 @@ def patrons(v):
|
||||||
if v and v.is_banned and not v.unban_utc: return render_template("seized.html")
|
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)
|
if not (v and v.admin_level == 6): abort(404)
|
||||||
users = [x for x in g.db.query(User).filter_by(patron = True).all()]
|
users = [x for x in g.db.query(User).filter_by(patron = True).all()]
|
||||||
return render_template("banned.html", v=v, users=users)
|
return render_template("patrons.html", v=v, users=users)
|
||||||
|
|
||||||
|
|
||||||
@app.get("/admin/shadowbanned")
|
@app.get("/admin/shadowbanned")
|
||||||
|
|
Loading…
Reference in New Issue