webstore - If user with same name but different email, it may not allow login

Description

I found that WebUser.login looks user by name instead of email, which may take wrong user if 2 different user with different email but same name.

As webstore login works with email only, we should check user by email instead of email.

Environment

None

Assignee

Deepak Pansheriya

Reporter

Deepak Pansheriya

Labels

None

Tested By

None

Priority

Major
Configure