Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
NOTE: This branch needs one more change before being merged. We are waiting on an email template to include in the username -> email migration. DO NOT merge until this notice is removed.
Fixes issue #596
Changes in this PR.
This branch introduces fixes for the login page, add account and edit account pages when it comes to username and email address uniqueness, case, and whitespace. It replaces the built in backend authenticator in order to ignore case when logging in.
Due to this, there cannot be any duplicate users in the system. This includes by case. Two users with email addresses "[email protected]" and "[email protected]" will not allow either user to log in.
** BEFORE THIS IS MERGED **
The environments where this is being applied MUST have duplicate users removed.
I have already identified users in prod data which are duplicates, they are attached to the issue this fixes.
Testing this PR.