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.

default_settings: Add explanatory comment to "sends_email_by_ip".

bedo72d1fa7661c7
diff --git a/zproject/default_settings.py b/zproject/default_settings.py
index 085d94be211..59e298be570 100644
--- a/zproject/default_settings.py
+++ b/zproject/default_settings.py
@@ -320,6 +320,7 @@ DEFAULT_RATE_LIMITING_RULES = {
# sending of an email, restricting the number per IP address. This
# is a general anti-spam measure.
"sends_email_by_ip": [
+ # 5 emails per day.
(86400, 5),
],
# Limits access to uploaded files, in web-public contexts, done by