Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(auth): ensure users are created using emails as returned from azu…
…re (#964) * fix: ensure user emails are lowercase when saved to postgres azure was returning emails with cases that had changed and it broke user access * fix: override AzureBackend and AuthHandler.authenticate to lower emails * revert users/helper.py * fix(auth): retain case in email used to create user weve removed the `normalize_email` method from our CustomUserManager this was causing issues when emails in users_customuser did not match emails returned from azure where `normalize_email` would lowercase the domain of an email * revert path to auth backend
- Loading branch information