Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

computed_settings: Clarify the user login rate-limit is only on failures.

Alex Vandiver1d70ba9a3548
diff --git a/zproject/computed_settings.py b/zproject/computed_settings.py
index b75086dccd5..bc6371a5c97 100644
--- a/zproject/computed_settings.py
+++ b/zproject/computed_settings.py
@@ -381,7 +381,7 @@ RATE_LIMITING_RULES = {
(60, 1000),
],
"authenticate_by_username": [
- (1800, 5), # 5 login attempts within 30 minutes
+ (1800, 5), # 5 failed login attempts within 30 minutes
],
"email_change_by_user": [
(3600, 2), # 2 per hour