diff options
| author | Mark Adams <mark@markadams.me> | 2015-03-17 14:55:22 -0500 |
|---|---|---|
| committer | Mark Adams <madams@atlassian.com> | 2015-03-17 14:56:52 -0500 |
| commit | 3e59fe6c9e88d212180dfec61b36d58858af0367 (patch) | |
| tree | f1c18b7a756f958ecb13894aa50638d7fb28231f /jwt/exceptions.py | |
| parent | fd3a489e975afe490442c6b12f089263557bd341 (diff) | |
| download | pyjwt-3e59fe6c9e88d212180dfec61b36d58858af0367.tar.gz | |
Added a check to raise an error if alg = 'none' and a key is specified. (Fixes #106)
Diffstat (limited to 'jwt/exceptions.py')
| -rw-r--r-- | jwt/exceptions.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jwt/exceptions.py b/jwt/exceptions.py index 4b5d647..ea57b35 100644 --- a/jwt/exceptions.py +++ b/jwt/exceptions.py @@ -18,7 +18,7 @@ class InvalidIssuerError(InvalidTokenError): pass -class InvalidAlgorithmError(Exception): +class InvalidKeyError(Exception): pass |
