Update settings.py
This commit is contained in:
parent
6ff6ba299a
commit
1595e92ec0
1 changed files with 2 additions and 2 deletions
|
@ -980,7 +980,7 @@ def settings_name_change(v):
|
||||||
return redirect("/settings/profile")
|
return redirect("/settings/profile")
|
||||||
|
|
||||||
@app.post("/settings/song_change")
|
@app.post("/settings/song_change")
|
||||||
@limiter.limit("1/second")
|
@limiter.limit("5/day;1/second")
|
||||||
@auth_required
|
@auth_required
|
||||||
@validate_formkey
|
@validate_formkey
|
||||||
def settings_song_change(v):
|
def settings_song_change(v):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue