This commit is contained in:
Aevann1 2021-09-14 14:30:28 +02:00
parent bf75419f6d
commit 1d12d1069b

View file

@ -598,7 +598,7 @@ def settings_css(v):
@auth_required
def settings_profilecss_get(v):
if v.coins < 1000 and not v.patron: return f"You must have +1000 {COINS_NAME} or be a patron to set profile css."
if v.coins < 1000 and not v.patron and v.admin_level < 6: return f"You must have +1000 {COINS_NAME} or be a patron to set profile css."
return render_template("settings_profilecss.html", v=v)
@app.post("/settings/profilecss")