mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
rate_limiter: Rename authenticate domain to authenticate_by_username.
This prepares for adding authenticate_by_ip_address.
This commit is contained in:
committed by
Tim Abbott
parent
7c78d8a966
commit
7b34853328
@@ -357,7 +357,7 @@ RATE_LIMITING_RULES = {
|
||||
'api_by_user': [
|
||||
(60, 200), # 200 requests max every minute
|
||||
],
|
||||
'authenticate': [
|
||||
'authenticate_by_username': [
|
||||
(1800, 5), # 5 login attempts within 30 minutes
|
||||
],
|
||||
'password_reset_form_by_email': [
|
||||
|
Reference in New Issue
Block a user