dj-jwt-auth 1.5.11__py3-none-any.whl → 1.5.13__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: dj-jwt-auth
3
- Version: 1.5.11
3
+ Version: 1.5.13
4
4
  Summary: A Django package for JSON Web Token validation and verification. Using PyJWT.
5
5
  Home-page: https://www.example.com/
6
6
  Author: Konstantin Seleznev
@@ -1,7 +1,7 @@
1
1
  django_jwt/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
2
  django_jwt/config.py,sha256=-9JkGjMXRVNmQYPvrEwaoJacu068nySNfjMyo5DtXcw,1550
3
3
  django_jwt/exceptions.py,sha256=vFJcGOCSZvxJRbSeMgWgPUM9wcXu6CSHblpwMzhV-Ic,198
4
- django_jwt/middleware.py,sha256=4PiF0-v13aLjvTyeyumQqYFimb6gCDHBgm6KooPGZdM,1176
4
+ django_jwt/middleware.py,sha256=LiIvjHPmYkojmF9D8XuSOBGLgAJHnY_T9nelj7RJLOs,1072
5
5
  django_jwt/pkce.py,sha256=j-v2ffCw0X3JW7ak8vfNeSZI-dACOvHbi1eLmJ0R8gM,685
6
6
  django_jwt/roles.py,sha256=SaHK3o8T8USS4ZhG4SrHPlZQV2lMb2t1UZHT6IQtBvA,143
7
7
  django_jwt/settings.py,sha256=pXQ8WUU4LGBe6PQxCLTLM_2_b1CCSgehqim3yJDqZdw,1922
@@ -15,7 +15,7 @@ tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
15
15
  tests/models.py,sha256=tJlhRARVGfFIH6Gp1o00buZKcY2oAk7HNw2PMnkTEDs,295
16
16
  tests/test.py,sha256=KnliWfuW8CtRH4qkQ1SNT0jmfFSNZ6MJCWYz4OUv6pU,10175
17
17
  tests/urls.py,sha256=D5FhDSVAudurkrpkCZZPnDvgXSgifwFVB3nAlYBg7uQ,212
18
- dj_jwt_auth-1.5.11.dist-info/METADATA,sha256=9_9XVtcrl9rOEhb5E9VOYuEJ5ZS9tc8bxMdWeoeYrUs,4370
19
- dj_jwt_auth-1.5.11.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
20
- dj_jwt_auth-1.5.11.dist-info/top_level.txt,sha256=58O7TdK-yECZcbmPc52KNlBFpjIUlENuZubCxaSOxus,17
21
- dj_jwt_auth-1.5.11.dist-info/RECORD,,
18
+ dj_jwt_auth-1.5.13.dist-info/METADATA,sha256=Uag0U53x10eZjJrEBxQCxARJ024pwiAxQxS-qAdeZWs,4370
19
+ dj_jwt_auth-1.5.13.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
20
+ dj_jwt_auth-1.5.13.dist-info/top_level.txt,sha256=58O7TdK-yECZcbmPc52KNlBFpjIUlENuZubCxaSOxus,17
21
+ dj_jwt_auth-1.5.13.dist-info/RECORD,,
django_jwt/middleware.py CHANGED
@@ -31,6 +31,3 @@ class JWTAuthMiddleware(MiddlewareMixin):
31
31
  return JsonResponse(status=HTTPStatus.UNAUTHORIZED.value, data={"detail": "expired token"})
32
32
  except UnicodeDecodeError as exc:
33
33
  log.warning(f"UnicodeDecodeError: {exc}")
34
- except Exception as exc:
35
- log.warning(f"Unexpected error: {exc}")
36
- return