From 6fb5f7e552c5ae7044f6010e506b89fc20120f87 Mon Sep 17 00:00:00 2001 From: Aevann Date: Mon, 23 Jan 2023 02:43:15 +0200 Subject: [PATCH] disable slow endpoing --- files/routes/users.py | 1 + 1 file changed, 1 insertion(+) diff --git a/files/routes/users.py b/files/routes/users.py index 6c5afe12f..95582ced9 100644 --- a/files/routes/users.py +++ b/files/routes/users.py @@ -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")