fd
This commit is contained in:
parent
ea502b68d5
commit
df90604d84
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ month = datetime.now().strftime('%B')
|
|||
|
||||
|
||||
@app.post("/@<username>/make_admin")
|
||||
@limiter.limit("1/day")
|
||||
@limiter.limit("1/second;5/day")
|
||||
@admin_level_required(3)
|
||||
def make_admin(v, username):
|
||||
user = get_user(username)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue