Преглед изворни кода

[jwt] Bump djangorestframework-simplejwt to 5.2.0 (#2875)

- Required for error: AttributeError: 'str' object has no attribute 'decode'
- This error comes when trying to use Hue public API via Hue's JWT access token.
- Version 4.7+ contains the fix so we upgraded to the latest. This was required because we upgraded PyJWT to 2.4.0 due to CVE.
Harsh Gupta пре 3 година
родитељ
комит
09999a1560
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      desktop/core/requirements.txt

+ 1 - 1
desktop/core/requirements.txt

@@ -25,7 +25,7 @@ django-nose==1.4.7
 django_opentracing==1.1.0
 django_prometheus==1.0.15
 django-webpack-loader==1.0.0
-djangorestframework-simplejwt==4.4.0  # For Python 3.6
+djangorestframework-simplejwt==5.2.0
 djangorestframework==3.12.2
 eventlet==0.30.2
 future==0.18.2