Skip to content

Commit c2629f6

Browse files
committed
update changelog
1 parent c8e1b13 commit c2629f6

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

CHANGELOG.rst

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,17 @@ Changed
1717

1818
Before:
1919

20-
.. code-block:: python
21-
jwt.encode({"payload":"abc"}, key=None, algorithm=None)
20+
.. code-block:: pycon
21+
22+
>>> import jwt
23+
>>> jwt.encode({"payload": "abc"}, key=None, algorithm=None)
2224
2325
After:
2426

25-
.. code-block:: python
26-
jwt.encode({"payload":"abc"}, key=None, algorithm='none')
27+
.. code-block:: pycon
28+
29+
>>> import jwt
30+
>>> jwt.encode({"payload": "abc"}, key=None, algorithm="none")
2731
2832
- Added validation for 'sub' (subject) and 'jti' (JWT ID) claims in tokens
2933

0 commit comments

Comments
 (0)