From 22d22f1c1f7f9757e0f855dc10675de9ada4415b Mon Sep 17 00:00:00 2001 From: gw3000 Date: Wed, 12 Jul 2023 16:48:21 +0200 Subject: [PATCH] added CSRF_TRUSTED_ORIGINS --- app/core/settings.py | 1 + 1 file changed, 1 insertion(+) diff --git a/app/core/settings.py b/app/core/settings.py index 23233ca..1fda6ac 100644 --- a/app/core/settings.py +++ b/app/core/settings.py @@ -19,6 +19,7 @@ SECRET_KEY = ")g-j2v+*dvjtnz)q-3+*y7*lq$el$im8p^wr@2v$g^u99quq50" # SECURITY WARNING: don't run with debug turned on in production! # DEBUG = True DEBUG = env("DEBUG") +CSRF_TRUSTED_ORIGINS = ['https://*.nabu-jena.de','https://*.127.0.0.1'] # ALLOWED_HOSTS = []