Login by email or username

Description

Continuation of the pull request #12226

Background: Users misspell their emails and can't login a 2d time

Studio Updates: None.

LMS Updates: an optional feature to sign-in both by email or username is added.

Manual test instructions:
1. Change lms.env.json:
"FEATURES": { "ENABLE_LOGIN_BY_EMAIL_OR_USERNAME": true,
2. Open http://127.0.0.1:8000/login and try to to login as staff/edx or staff@example.com/edx

Status

Assignee

Simon Chen

Reporter

Open Source Pull Request Bot

Contributor Name

Elena Komendantova

Repo

edx/edx-platform

Customer

Epic Link

None

OSCM Assignee

Ned Batchelder

Priority

Unset
Configure