summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/CHANGELOG.rst b/CHANGELOG.rst
index 06d281c..4fc0a59 100644
--- a/CHANGELOG.rst
+++ b/CHANGELOG.rst
@@ -164,6 +164,11 @@ For example, instead of
use
``jwt.decode(encoded, key, algorithms=["HS256"], options={"require": ["exp"]})``.
+And the old v1.x syntax
+``jwt.decode(token, verify=False)``
+is now:
+``jwt.decode(jwt=token, key='secret', algorithms=['HS256'], options={"verify_signature": False, "verify_exp": True})``
+
Added
~~~~~