forked from MarseyWorld/MarseyWorld
Update settings.py
parent
3b14454dac
commit
6d0dea81ed
|
@ -980,7 +980,7 @@ def settings_name_change(v):
|
|||
return redirect("/settings/profile")
|
||||
|
||||
@app.post("/settings/song_change")
|
||||
@limiter.limit("1/second")
|
||||
@limiter.limit("5/day;1/second")
|
||||
@auth_required
|
||||
@validate_formkey
|
||||
def settings_song_change(v):
|
||||
|
@ -1081,4 +1081,4 @@ def settings_title_change(v):
|
|||
g.db.add(v)
|
||||
g.db.commit()
|
||||
|
||||
return redirect("/settings/profile")
|
||||
return redirect("/settings/profile")
|
||||
|
|
Loading…
Reference in New Issue