2/sec
This commit is contained in:
parent
3199dca39b
commit
1584fb6eed
1 changed files with 1 additions and 1 deletions
|
@ -892,7 +892,7 @@ def settings_name_change(v):
|
||||||
return redirect(f"{SITE_FULL}/settings/profile")
|
return redirect(f"{SITE_FULL}/settings/profile")
|
||||||
|
|
||||||
@app.post("/settings/song_change")
|
@app.post("/settings/song_change")
|
||||||
@limiter.limit("1/second;5/day")
|
@limiter.limit("2/second;10/day")
|
||||||
@auth_required
|
@auth_required
|
||||||
def settings_song_change(v):
|
def settings_song_change(v):
|
||||||
song=request.values.get("song").strip()
|
song=request.values.get("song").strip()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue