Skip to content
This repository has been archived by the owner on May 26, 2020. It is now read-only.

Commit

Permalink
Update the verson to 1.12.1
Browse files Browse the repository at this point in the history
  • Loading branch information
devinwang committed Sep 26, 2023
1 parent 471fe44 commit 070d1ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rest_framework_jwt/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-

__title__ = 'djangorestframework-jwt'
__version__ = '1.12.0'
__version__ = '1.12.1'
__author__ = 'José Padilla'
__license__ = 'MIT'
__copyright__ = 'Copyright 2014-2017 Blimp LLC'
Expand Down
2 changes: 1 addition & 1 deletion rest_framework_jwt/authentication.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def authenticate(self, request):

try:
payload = jwt_decode_handler(jwt_value)
except jwt.ExpiredSignature:
except jwt.ExpiredSignatureError:
msg = _('Signature has expired.')
raise exceptions.AuthenticationFailed(msg)
except jwt.DecodeError:
Expand Down

0 comments on commit 070d1ea

Please sign in to comment.