disable slow endpoing

master
Aevann 2023-01-23 02:43:15 +02:00
parent 3ab09c0e20
commit 6fb5f7e552
1 changed files with 1 additions and 0 deletions

View File

@ -176,6 +176,7 @@ def user_voted_posts(v:User, username):
@limiter.limit(DEFAULT_RATELIMIT, key_func=get_ID)
@auth_required
def user_voted_comments(v:User, username):
abort(403, "Temporarily disabled!")
return user_voted(v, username, Comment, CommentVote, "userpage/voted_comments.html", True)
@app.get("/banned")