From 9f231e096f13f123e543aa35c7b17a9482bf6476 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Fri, 16 Sep 2022 10:41:30 +0200 Subject: [PATCH] award printing change in WPD --- files/routes/awards.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/files/routes/awards.py b/files/routes/awards.py index 8f7b91ccd5..7a6afd1395 100644 --- a/files/routes/awards.py +++ b/files/routes/awards.py @@ -420,6 +420,8 @@ def admin_userawards_post(v): if SITE == 'pcmemes.net' and v.admin_level < 3: abort(403) + if SITE == 'watchpeopledie.co' and v.id not in (AEVANN_ID, CARP_ID, SNAKES_ID): abort(403) + try: u = request.values.get("username").strip() except: abort(404)