From 077e7fc16f02bb709e46937c4c67769bcc5507a8 Mon Sep 17 00:00:00 2001 From: Robert Raposa Date: Thu, 29 Aug 2024 10:31:46 -0400 Subject: [PATCH] feat: DEPR USE-JWT-COOKIE header (#312) This repo is no longer using USE-JWT-COOKIE header, since it has the required edx-drf-extensions>10.2.0, where it was fully removed. This is final clean-up for this repo. See "[DEPR]: USE-JWT-COOKIE header" for more details: - https://github.com/openedx/edx-drf-extensions/issues/371 --- edx_exams/settings/base.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/edx_exams/settings/base.py b/edx_exams/settings/base.py index 49b5b70e..75b5532a 100644 --- a/edx_exams/settings/base.py +++ b/edx_exams/settings/base.py @@ -86,9 +86,7 @@ def root(*path_fragments): # Enable CORS CORS_ALLOW_CREDENTIALS = True -CORS_ALLOW_HEADERS = corsheaders_default_headers + ( - 'use-jwt-cookie', -) +CORS_ALLOW_HEADERS = corsheaders_default_headers CORS_ORIGIN_WHITELIST = [] ROOT_URLCONF = 'edx_exams.urls'