flask-jwt icon indicating copy to clipboard operation
flask-jwt copied to clipboard

change in assing data id

Open jurueta opened this issue 4 years ago • 0 comments

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.

jurueta avatar May 12 '21 01:05 jurueta