Skip to content
This repository has been archived by the owner on May 26, 2020. It is now read-only.

Don't require the 'token' key to override jwt_response_payload_handler #323

Merged

Conversation

brianrower
Copy link

If you have JWT_AUTH_COOKIE enabled and you cannot override jwt_response_payload_handler with your own implementation that does not include the "token" key. This small change uses the token as you already have it rather than the trying to retrieve it from the response data

…response_payload_handler, allows more customized responses
@jpadilla
Copy link
Owner

jpadilla commented Apr 7, 2017

@brianrower this looks good to me, thanks! 🎉 🎆

@jpadilla jpadilla merged commit 9e89201 into jpadilla:master Apr 7, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants