This commit is contained in:
Aevann1 2021-09-05 11:45:53 +02:00
parent fb6cf3f823
commit 93c1b12fdb
2 changed files with 1 additions and 23 deletions

View file

@ -843,13 +843,4 @@ def settings_title_change(v):
v.customtitle = filter_title(new_name)
g.db.add(v)
return redirect("/settings/profile")
@app.post("/settings/badges")
@auth_required
@validate_formkey
def settings_badge_recheck(v):
v.refresh_selfset_badges()
return {"message":"Badges Refreshed"}
return redirect("/settings/profile")