Automatically lowercase usernames posted to the token-auth endpoint
One-sentence description
Automatically lowercase usernames posted to the token-auth endpoint
Why?
Because the login form does the same.
Current implementation
We use the ObtainAuthToken
from Django Rest Framework (DRF).
Desired implementation
Extend the view and make sure usernames are converted to lowercase.