unlock /donate to loggedoutcels

pull/161/head
Aevann 2023-06-29 22:51:48 +03:00
parent 778f4f045e
commit d98f8afde8
1 changed files with 2 additions and 1 deletions

View File

@ -408,5 +408,6 @@ def transfers(v:User):
@limiter.limit(DEFAULT_RATELIMIT)
@is_not_permabanned
def donate(v):
if v.shadowbanned or v.chud == 1: abort(404)
if v.shadowbanned or v.chud == 1 or v.is_permabanned:
abort(404)
return render_template(f'donate.html', v=v)