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.

settings: Typecast FREE_TRIAL_DAYS into integer.

Vishnu KSb4eafaa022ed
diff --git a/zproject/default_settings.py b/zproject/default_settings.py
index 74998a3aa5f..856e5d621d3 100644
--- a/zproject/default_settings.py
+++ b/zproject/default_settings.py
@@ -402,7 +402,7 @@ ARCHIVED_DATA_VACUUMING_DELAY_DAYS = 7
# are available to all realms.
BILLING_ENABLED = False
-FREE_TRIAL_DAYS = get_secret('free_trial_days', None)
+FREE_TRIAL_DAYS: Optional[int] = int(get_secret('free_trial_days', "0"))
# Custom message (supports HTML) to be shown in the navbar of landing pages. Used mainly for
# making announcements.