From dd4467c0914b43d9f62d71b2530f09ef65486b40 Mon Sep 17 00:00:00 2001 From: Lily Acadia Gilbert Date: Mon, 27 Jun 2022 11:03:49 -0600 Subject: [PATCH] Fix `verify_type=False` bug (#483) --- flask_jwt_extended/view_decorators.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flask_jwt_extended/view_decorators.py b/flask_jwt_extended/view_decorators.py index f723c819..d357d945 100644 --- a/flask_jwt_extended/view_decorators.py +++ b/flask_jwt_extended/view_decorators.py @@ -47,7 +47,7 @@ def verify_jwt_in_request( fresh: bool = False, refresh: bool = False, locations: LocationType = None, - verify_type: bool = False, + verify_type: bool = True, ) -> Optional[Tuple[dict, dict]]: """ Verify that a valid JWT is present in the request, unless ``optional=True`` in