From 8b3388cb2955b87452ce52a03f9dbd97e64a9c35 Mon Sep 17 00:00:00 2001 From: Aevann Date: Thu, 29 Jun 2023 23:15:12 +0300 Subject: [PATCH] fix d98f8afde8120a6942f2b06c3eda5a8a29546928 --- files/routes/static.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/static.py b/files/routes/static.py index 10ab7a1bb2..58839f6380 100644 --- a/files/routes/static.py +++ b/files/routes/static.py @@ -406,7 +406,7 @@ def transfers(v:User): @app.get('/donate') @limiter.limit(DEFAULT_RATELIMIT) -@is_not_permabanned +@auth_desired def donate(v): if v.shadowbanned or v.chud == 1 or v.is_permabanned: abort(404)