diff --git a/.readthedocs.yaml b/.readthedocs.yaml index e152c3b4..9185de79 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -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: diff --git a/edx_rest_framework_extensions/auth/jwt/middleware.py b/edx_rest_framework_extensions/auth/jwt/middleware.py index b9c1c20d..ba57023b 100644 --- a/edx_rest_framework_extensions/auth/jwt/middleware.py +++ b/edx_rest_framework_extensions/auth/jwt/middleware.py @@ -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