fix prev commit

master
Aevann 2023-04-02 08:53:23 +02:00
parent 5bc6597188
commit 5c31b24f5b
1 changed files with 0 additions and 1 deletions

View File

@ -63,7 +63,6 @@ def error_500(e):
@app.post("/allow_nsfw")
@limiter.limit('1/second', scope=rpath)
@limiter.limit('1/second', scope=rpath, key_func=get_ID)
@limiter.limit(DEFAULT_RATELIMIT)
def allow_nsfw():
session["over_18"] = int(time.time()) + 3600