Skip to content

Commit 97d15c5

Browse files
Change jwt.required to jwt_required (#435)
1 parent 419f4f7 commit 97d15c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/v4_upgrade_guide.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ General Changes
4141

4242
- Calling ``get_jwt()``, ``get_jwt_header()``, or ``get_jwt_identity()`` will raise
4343
a ``RuntimeError`` when called outside of a protected context (ie if you forgot
44-
``@jwt.required()`` or ``verify_jwt_in_request()``). Previously these calls
44+
``@jwt_required()`` or ``verify_jwt_in_request()``). Previously these calls
4545
would return ``None``.
4646
- Calling ``get_jwt()`` or ``get_jwt_header()`` will return an empty dictionary
4747
if called from an optionally protected endpoint. Previously this would return ``None``.

0 commit comments

Comments
 (0)