mcueto / djangorestframework-auth0

Library to simply use Auth0 token authentication in DRF within djangorestframework-jwt
MIT License
91 stars 19 forks source link

Return response when token is missing #38

Closed marten-cz closed 6 years ago

marten-cz commented 6 years ago

The decorator should return response in all cases. Case when token was not provided at all was not handled and the code was failing on "local variable 'response' referenced before assignment"

mcueto commented 6 years ago

Thank you! i will upload the new package version to pypi in -24hr :D