From 6c4b897e842437788c507a8cecf9c38bc558d28b Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Tue, 31 Oct 2023 11:50:07 +0100 Subject: [PATCH] add CSRF_TRUSTED_ORIGINS to settings --- trustchain_idhub/settings.py | 1 + 1 file changed, 1 insertion(+) diff --git a/trustchain_idhub/settings.py b/trustchain_idhub/settings.py index 731b03f..d00dea2 100644 --- a/trustchain_idhub/settings.py +++ b/trustchain_idhub/settings.py @@ -33,6 +33,7 @@ DEBUG = config('DEBUG', default=False, cast=bool) DEVELOPMENT = config('DEVELOPMENT', default=False, cast=bool) ALLOWED_HOSTS = config('ALLOWED_HOSTS', default=[], cast=Csv()) +CSRF_TRUSTED_ORIGINS = config('CSRF_TRUSTED_ORIGINS', default=[], cast=Csv()) DOMAIN = config("DOMAIN", "http://localhost")