From 26736b13244a753ca6c9b47a79a36cc1b6b133d6 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Fri, 8 Apr 2022 04:56:10 +0200 Subject: [PATCH] fds --- files/routes/admin.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/files/routes/admin.py b/files/routes/admin.py index f06c13cda..6f76554e0 100644 --- a/files/routes/admin.py +++ b/files/routes/admin.py @@ -169,7 +169,6 @@ if SITE_NAME == 'PCM': @app.post("/@/make_admin") -@limiter.limit("1/second;5/day") @admin_level_required(3) def make_admin(v, username): user = get_user(username) @@ -189,7 +188,6 @@ def make_admin(v, username): @app.post("/@/remove_admin") -@limiter.limit("1/second;30/minute;200/hour;1000/day") @admin_level_required(3) def remove_admin(v, username): user = get_user(username)