rate_limiter: Rename authenticate domain to authenticate_by_username.

This prepares for adding authenticate_by_ip_address.
This commit is contained in:
Mateusz Mandera
2019-12-30 21:17:11 +01:00
committed by Tim Abbott
parent 7c78d8a966
commit 7b34853328
6 changed files with 10 additions and 9 deletions

View File

@@ -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': [