diff --git a/src/arpeng/site/settings.py b/src/arpeng/site/settings.py index 0a2ae02ef..7e0a54959 100644 --- a/src/arpeng/site/settings.py +++ b/src/arpeng/site/settings.py @@ -22,6 +22,7 @@ PRODUCTION_HOST = "nihiitono.altlab.dev" ALLOWED_HOSTS.append(PRODUCTION_HOST) +CSRF_TRUSTED_ORIGINS.append("https://" + PRODUCTION_HOST) DEFAULT_RUNSERVER_PORT = 8007 diff --git a/src/blaeng/site/settings.py b/src/blaeng/site/settings.py index 13f0c4f83..c9b48e08f 100644 --- a/src/blaeng/site/settings.py +++ b/src/blaeng/site/settings.py @@ -22,6 +22,7 @@ PRODUCTION_HOST = "ipowahsin.altlab.dev" ALLOWED_HOSTS.append(PRODUCTION_HOST) +CSRF_TRUSTED_ORIGINS.append("https://" + PRODUCTION_HOST) DEFAULT_RUNSERVER_PORT = 8011 diff --git a/src/crkLacombeeng/site/settings.py b/src/crkLacombeeng/site/settings.py index 7162627b8..71a39ff2d 100644 --- a/src/crkLacombeeng/site/settings.py +++ b/src/crkLacombeeng/site/settings.py @@ -22,6 +22,7 @@ PRODUCTION_HOST = "lacombe.altlab.dev" ALLOWED_HOSTS.append(PRODUCTION_HOST) +CSRF_TRUSTED_ORIGINS.append("https://" + PRODUCTION_HOST) DEFAULT_RUNSERVER_PORT = 8016 diff --git a/src/cwdeng/site/settings.py b/src/cwdeng/site/settings.py index 0eab7187d..77163bd1a 100644 --- a/src/cwdeng/site/settings.py +++ b/src/cwdeng/site/settings.py @@ -24,6 +24,7 @@ DEFAULT_RUNSERVER_PORT = 8005 ALLOWED_HOSTS.append(PRODUCTION_HOST) +CSRF_TRUSTED_ORIGINS.append("https://" + PRODUCTION_HOST) FST_TOOL_SAMPLES = [ "kika-nîminaw", diff --git a/src/hdneng/site/settings.py b/src/hdneng/site/settings.py index a6849925e..7db35062f 100644 --- a/src/hdneng/site/settings.py +++ b/src/hdneng/site/settings.py @@ -22,6 +22,7 @@ PRODUCTION_HOST = "guusaaw.altlab.dev" ALLOWED_HOSTS.append(PRODUCTION_HOST) +CSRF_TRUSTED_ORIGINS.append("https://" + PRODUCTION_HOST) DEFAULT_RUNSERVER_PORT = 8010 diff --git a/src/srseng/site/settings.py b/src/srseng/site/settings.py index 0e35e2e02..6716d72f4 100644 --- a/src/srseng/site/settings.py +++ b/src/srseng/site/settings.py @@ -24,6 +24,7 @@ DEFAULT_RUNSERVER_PORT = 8009 ALLOWED_HOSTS.append(PRODUCTION_HOST) +CSRF_TRUSTED_ORIGINS.append("https://" + PRODUCTION_HOST) INSTALLED_APPS.insert(0, "srseng.app")