Mustafa Yontar 4 years ago
parent ce28cf59b6
commit 590a3e8f93
  1. 2
      restapi/jwt.py

@ -3,8 +3,6 @@ from flask_jwt_extended.utils import verify_token_claims
from flask_jwt_extended.view_decorators import _decode_jwt_from_request from flask_jwt_extended.view_decorators import _decode_jwt_from_request
def get_jwt_from_request(): def get_jwt_from_request():
jwt_data, jwt_header = _decode_jwt_from_request(request_type='access') jwt_data, jwt_header = _decode_jwt_from_request(request_type='access')
verify_token_claims(jwt_data) verify_token_claims(jwt_data)

Loading…
Cancel
Save