aboutsummaryrefslogtreecommitdiffstats
path: root/packages/meshbay-hub/src/meshbay_hub/hub_settings.py
diff options
context:
space:
mode:
Diffstat (limited to 'packages/meshbay-hub/src/meshbay_hub/hub_settings.py')
-rw-r--r--packages/meshbay-hub/src/meshbay_hub/hub_settings.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/meshbay-hub/src/meshbay_hub/hub_settings.py b/packages/meshbay-hub/src/meshbay_hub/hub_settings.py
index c397f58..e01bfd2 100644
--- a/packages/meshbay-hub/src/meshbay_hub/hub_settings.py
+++ b/packages/meshbay-hub/src/meshbay_hub/hub_settings.py
@@ -35,6 +35,7 @@ MAIL_KEYS = (
"verification_resend_cooldown",
"reset_cooldown",
"email_change_cooldown",
+ "invite_link_daily_cap",
)
# What a value may be. A cooldown of zero disables it, which is a legitimate
@@ -49,6 +50,7 @@ MAIL_BOUNDS: dict[str, tuple[int, int]] = {
"verification_resend_cooldown": (0, 86_400),
"reset_cooldown": (0, 86_400),
"email_change_cooldown": (0, 2_592_000), # 30 days
+ "invite_link_daily_cap": (1, 1_000),
}
_mail_defaults: dict[str, int] = {}