Python-API-Development-Fundamentals icon indicating copy to clipboard operation
Python-API-Development-Fundamentals copied to clipboard

Update user.py

Open GoldJav opened this issue 4 years ago • 0 comments

If you use updated version of flask_jwt_extended, you must use jwt_required and modify the decorator too.

For new versions, decorator should be @jwt_required(optional=True)

GoldJav avatar Dec 10 '21 11:12 GoldJav