From 4aeb55baa7c14a11271a7fc0e8d2ab3549dac8c9 Mon Sep 17 00:00:00 2001 From: Robert Raposa Date: Thu, 29 Aug 2024 10:55:47 -0400 Subject: [PATCH] Revert "feat: DEPR USE-JWT-COOKIE header (#312)" This reverts commit 077e7fc16f02bb709e46937c4c67769bcc5507a8. --- edx_exams/settings/base.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/edx_exams/settings/base.py b/edx_exams/settings/base.py index 75b5532a..49b5b70e 100644 --- a/edx_exams/settings/base.py +++ b/edx_exams/settings/base.py @@ -86,7 +86,9 @@ def root(*path_fragments): # Enable CORS CORS_ALLOW_CREDENTIALS = True -CORS_ALLOW_HEADERS = corsheaders_default_headers +CORS_ALLOW_HEADERS = corsheaders_default_headers + ( + 'use-jwt-cookie', +) CORS_ORIGIN_WHITELIST = [] ROOT_URLCONF = 'edx_exams.urls'