flask-jwt
flask-jwt copied to clipboard
change in assing data id
This change is realized because of next error:
identity = getattr(identity, 'id') or identity['id']
AttributeError: 'dict' object has no attribute 'id'
Generated when the variable identity is a dict and the getattr is for object.