diff options
author | Mark Adams <mark@markadams.me> | 2015-01-24 23:11:54 -0600 |
---|---|---|
committer | Mark Adams <mark@markadams.me> | 2015-01-24 23:12:11 -0600 |
commit | a0c5b62ecc92b31e10f76745e36f18aa3a204fe8 (patch) | |
tree | 0d41b39df78e8211fc44d929f6f69fab62d66409 /jwt/algorithms.py | |
parent | f7a6b5f66c4ac5c6b02875afb7a92d40c1790408 (diff) | |
download | pyjwt-a0c5b62ecc92b31e10f76745e36f18aa3a204fe8.tar.gz |
Added missing `sig` parameter to `sign()` method of the None algorithm.
Diffstat (limited to 'jwt/algorithms.py')
-rw-r--r-- | jwt/algorithms.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jwt/algorithms.py b/jwt/algorithms.py index 2e4a2e8..00073bf 100644 --- a/jwt/algorithms.py +++ b/jwt/algorithms.py @@ -74,7 +74,7 @@ class NoneAlgorithm(Algorithm): def sign(self, msg, key): return b'' - def verify(self, msg, key): + def verify(self, msg, key, sig): return True |