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

Method utils.jwt_payload_handler ignores USERNAME_FIELD #128

Closed
rm-- opened this issue Jun 18, 2015 · 3 comments
Closed

Method utils.jwt_payload_handler ignores USERNAME_FIELD #128

rm-- opened this issue Jun 18, 2015 · 3 comments
Labels

Comments

@rm--
Copy link

rm-- commented Jun 18, 2015

I have seen with #18 the serializers.py got an username access with paying attention to USERNAME_FIELD. But in utils.jwt_payload_handler it is still missing. (;

In my option there should be an implementation like in django-compat, also for compatibility reasons.

@hoIIer
Copy link
Contributor

hoIIer commented Jul 9, 2015

@rm-- I agree the django-compat snippet looks good, could you submit a PR with the changes?

@rm--
Copy link
Author

rm-- commented Jul 10, 2015

@erichonkanen Of course. Give my some days.

@rm--
Copy link
Author

rm-- commented Jul 26, 2015

thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants