diff --git a/temba/settings.py.dev b/temba/settings.py.dev index 3d5e00aa970..81bad088f1f 100644 --- a/temba/settings.py.dev +++ b/temba/settings.py.dev @@ -119,3 +119,9 @@ STATIC_URL = "/sitestatic/" CONTACT_IMPORT_MAX_RECORDS = 25_000 CONTACT_IMPORT_BATCH_SIZE = 100 + +# ---------------------------------------------------------------------------------------- +# # CSRF Trusteds orgins +# ---------------------------------------------------------------------------------------- + +CSRF_TRUSTED_ORIGINS = os.environ.get("CSRF_TRUSTED_ORIGINS", ["https://rapidpro-dev.ilhasoft.mobi"]) diff --git a/temba/settings.py.prod b/temba/settings.py.prod index 3c5069978d6..4e6ccd3e087 100755 --- a/temba/settings.py.prod +++ b/temba/settings.py.prod @@ -483,3 +483,10 @@ DISABLED_CHANNELS_INTEGRATIONS = env.list("DISABLED_CHANNELS_INTEGRATIONS", defa CONTACT_IMPORT_MAX_RECORDS = env.int("CONTACT_IMPORT_MAX_RECORDS", default=25_000) CONTACT_IMPORT_BATCH_SIZE = env.int("CONTACT_IMPORT_BATCH_SIZE", default=100) + + +# ---------------------------------------------------------------------------------------- +# # CSRF Trusteds orgins +# ---------------------------------------------------------------------------------------- + +CSRF_TRUSTED_ORIGINS = env.list("CSRF_TRUSTED_ORIGINS", default=[])