From 7c4ce29635ea73d50667ef9c026d51b072ef20bd Mon Sep 17 00:00:00 2001 From: Robert Raposa Date: Wed, 28 Aug 2024 17:53:02 -0400 Subject: [PATCH] feat: DEPR USE-JWT-COOKIE header his 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'