statamic / v2-hub

Statamic 2 - Feature Requests and Bug Reports
https://statamic.com
95 stars 5 forks source link

Email field displays username when switching login to email #2458

Open rcknr opened 4 years ago

rcknr commented 4 years ago

Describe the bug When I switch the login to email in Users management module both username and email display the value of username.

To Reproduce Steps to reproduce the behavior:

  1. Change login_type to email in site/settings/users.yaml
  2. Open /cp/users
  3. See the problem both in user list and user edit form.

Expected behavior Properly display username and e-mail independent from login_type.

Environment details (please complete the following information):

Additional context Storing users in the database.