forked from MarseyWorld/MarseyWorld
remove retarded ratelimit
parent
c8ca6d279d
commit
bd2355007c
|
@ -672,7 +672,6 @@ def mfa_qr(v:User, secret:str):
|
||||||
|
|
||||||
@app.get("/is_available/<name>")
|
@app.get("/is_available/<name>")
|
||||||
@limiter.limit("100/day")
|
@limiter.limit("100/day")
|
||||||
@limiter.limit("100/day", key_func=get_ID)
|
|
||||||
def is_available(name:str):
|
def is_available(name:str):
|
||||||
|
|
||||||
name=name.strip()
|
name=name.strip()
|
||||||
|
|
Loading…
Reference in New Issue