pallets-eco / flask-jwt

JWT (JSON Web Tokens) for Flask applications
MIT License
564 stars 178 forks source link

Fix attribute error in default payload handler. #85

Open badlydrawnrod opened 8 years ago

badlydrawnrod commented 8 years ago

If the authentication handler returned a dictionary rather than an object then the default payload handler would throw an AttributeError as no default value was supplied for getattr().

coveralls commented 8 years ago

Coverage Status

Coverage remained the same at 95.652% when pulling e4bd8e3a17d16cde919d5afdfc0fe2878f554e5c on badlydrawnrod:master into c27084114e258863b82753fc574a362cd6c62fcd on mattupstate:master.

coveralls commented 8 years ago

Coverage Status

Coverage remained the same at 95.652% when pulling ca7506cba6c397b3685cfaed175c83a8d7bb6193 on badlydrawnrod:master into c27084114e258863b82753fc574a362cd6c62fcd on mattupstate:master.

coveralls commented 8 years ago

Coverage Status

Coverage remained the same at 95.652% when pulling 021cf94966f601f5bd65d61cfa06894a25895a91 on badlydrawnrod:master into c27084114e258863b82753fc574a362cd6c62fcd on mattupstate:master.

stephane commented 8 years ago

Already fixed by #63 and many others.