diff --git a/files/routes/static.py b/files/routes/static.py index 65da9f713..b6ad7f052 100644 --- a/files/routes/static.py +++ b/files/routes/static.py @@ -105,7 +105,7 @@ def daily_chart(v): @app.get("/paypigs") @admin_level_required(3) def patrons(v): - if AEVANN_ID and v.id != AEVANN_ID: abort(404) + if AEVANN_ID and v.id not in (AEVANN_ID, CARP_ID, SNAKES_ID): abort(404) users = g.db.query(User).filter(User.patron > 0).order_by(User.patron.desc(), User.id).all() diff --git a/files/templates/admin/admin_home.html b/files/templates/admin/admin_home.html index 5b22dc091..0dae73a81 100644 --- a/files/templates/admin/admin_home.html +++ b/files/templates/admin/admin_home.html @@ -49,7 +49,7 @@