diff options
Diffstat (limited to 'jwt/api_jwt.py')
-rw-r--r-- | jwt/api_jwt.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jwt/api_jwt.py b/jwt/api_jwt.py index 059c4a0..bca6823 100644 --- a/jwt/api_jwt.py +++ b/jwt/api_jwt.py @@ -123,7 +123,7 @@ class PyJWT(PyJWS): try: int(payload['iat']) except ValueError: - raise DecodeError('Issued At claim (iat) must be an integer.') + raise InvalidIssuedAtError('Issued At claim (iat) must be an integer.') def _validate_nbf(self, payload, now, leeway): try: |