mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
settings: Use original FREE_TRIAL_DAYS for cloud free trials.
* Renamed FREE_TRIAL_DAYS to CLOUD_FREE_TRIAL_DAYS. * Used `cloud_free_trial_days` to get free trial days secret.
This commit is contained in:
@@ -546,7 +546,7 @@ ARCHIVED_DATA_VACUUMING_DELAY_DAYS = 30
|
||||
# are available to all realms.
|
||||
BILLING_ENABLED = False
|
||||
|
||||
FREE_TRIAL_DAYS: Optional[int] = int(get_secret("free_trial_days", "0"))
|
||||
CLOUD_FREE_TRIAL_DAYS: Optional[int] = int(get_secret("cloud_free_trial_days", "0"))
|
||||
|
||||
# Custom message (supports HTML) to be shown in the navbar of landing pages. Used mainly for
|
||||
# making announcements.
|
||||
|
@@ -257,7 +257,7 @@ RATE_LIMITING_RULES: Dict[str, List[Tuple[int, int]]] = {
|
||||
"password_reset_form_by_email": [],
|
||||
}
|
||||
|
||||
FREE_TRIAL_DAYS: Optional[int] = None
|
||||
CLOUD_FREE_TRIAL_DAYS: Optional[int] = None
|
||||
|
||||
SCIM_CONFIG: Dict[str, SCIMConfigDict] = {
|
||||
"zulip": {
|
||||
|
Reference in New Issue
Block a user