stormpath / stormpath-django

Django plugin for Stormpath
Apache License 2.0
38 stars 19 forks source link

username get over-ridden by email. #86

Open sumeetpujara opened 7 years ago

sumeetpujara commented 7 years ago

Due to this line https://github.com/stormpath/stormpath-django/blob/master/django_stormpath/models.py#L401,

username is over-ridden by email.

patpatpatpatpat commented 7 years ago

Current behavior: I can change the username of an account via Stormpath Admin, but when I log in my Django app, using the account's username/email field, the username field always reverts back to the email field.

rdegges commented 7 years ago

Hmm, thanks for the report. Will look into this.