petit changement pour 429 error handler (temp fix)
CI - Security, Lint & Tests / validate (push) Failing after 59s
CI - Security, Lint & Tests / validate (push) Failing after 59s
This commit is contained in:
+1
-1
@@ -22,7 +22,7 @@ babel = Babel()
|
||||
# No storage is named here on purpose: it comes from RATELIMIT_STORAGE_URI in
|
||||
# app.config, which create_app fills from the environment and defaults to
|
||||
# `memory://` (SEC-WEB-004). Naming it in both places is how the two drift.
|
||||
limiter = Limiter(key_func=get_remote_address, default_limits=["200 per day", "50 per hour"])
|
||||
limiter = Limiter(key_func=get_remote_address, default_limits=["1000 per day", "200 per hour"])
|
||||
|
||||
|
||||
def hash_password(password):
|
||||
|
||||
Reference in New Issue
Block a user