Skip to content

Commit

Permalink
chore: resolving issue in docs building and linting
Browse files Browse the repository at this point in the history
  • Loading branch information
huniafatima-arbi committed Aug 23, 2024
1 parent f17ec48 commit cd3b450
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ version: 2
build:
os: "ubuntu-22.04"
tools:
python: "3.8"
python: "3.11"

# Build documentation in the docs/ directory with Sphinx
sphinx:
Expand Down
3 changes: 2 additions & 1 deletion edx_rest_framework_extensions/auth/jwt/middleware.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,9 +227,10 @@ def process_view(self, request, view_func, view_args, view_kwargs): # pylint: d
# Log unexpected case of only finding one cookie.
if not header_payload_cookie:
log_message = self._get_missing_cookie_message(jwt_cookie_header_payload_name())
log.warning(log_message)
if not signature_cookie:
log_message = self._get_missing_cookie_message(jwt_cookie_signature_name())
log.warning(log_message)
log.warning(log_message)

has_reconstituted_jwt_cookie = jwt_cookie_name() in request.COOKIES
# .. custom_attribute_name: has_jwt_cookie
Expand Down

0 comments on commit cd3b450

Please sign in to comment.