From 5d285553dc5a41f53e7f4d64dce30eddb0419d70 Mon Sep 17 00:00:00 2001 From: Keannu Bernasol Date: Wed, 3 Sep 2025 02:40:10 +0800 Subject: [PATCH] Add in CSRF config --- src/core/settings.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/settings.py b/src/core/settings.py index f15a8be..5503e12 100644 --- a/src/core/settings.py +++ b/src/core/settings.py @@ -32,6 +32,7 @@ SECRET_KEY = config.SECRET_KEY DEBUG = config.DEBUG CORS_ALLOWED_ORIGINS = config.CORS_ORIGINS +CSRF_TRUSTED_ORIGINS = config.CORS_ORIGINS ALLOWED_HOSTS = config.ALLOWED_HOSTS