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:
Aman Agrawal
2023-12-09 17:31:27 +00:00
committed by Tim Abbott
parent 34704daee7
commit ccd60bc7e2
7 changed files with 17 additions and 17 deletions

View File

@@ -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.

View File

@@ -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": {