Skip to content

Commit

Permalink
feat: DEPR USE-JWT-COOKIE header
Browse files Browse the repository at this point in the history
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:
- openedx/edx-drf-extensions#371
  • Loading branch information
robrap authored Aug 28, 2024
1 parent 30201a3 commit 7c4ce29
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions edx_exams/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 7c4ce29

Please sign in to comment.