From 332ab2cbdfc6e579b7df563755e3405ee729df3d Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sat, 10 Sep 2022 11:37:43 +0200 Subject: [PATCH] fix is_available --- files/routes/users.py | 1 + 1 file changed, 1 insertion(+) diff --git a/files/routes/users.py b/files/routes/users.py index 4c3591860..119edfb1f 100644 --- a/files/routes/users.py +++ b/files/routes/users.py @@ -869,6 +869,7 @@ def mfa_qr(secret, v): @app.get("/is_available/") +@limiter.limit("100/day") def is_available(name): name=name.strip()