Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Autocomplete on Username Field in User Edit Form #14699

Open
freelancewebdev opened this issue Aug 25, 2019 · 0 comments

Comments

@freelancewebdev
Copy link

commented Aug 25, 2019

Bug report

Summary

Autocomplete in the username field in the user edit form can lead to accidental saving of an incorrect username from that originally stored when the user hasn't been assigned a password - for example when imported without one.

Step to reproduce

Create a user via the API without a password on a domain you have an autocomplete username for.

Observed behavior

For users with no password, on Chrome the username is filled in with the first entry from my autocomplete list replacing the original username.

Expected behavior

It should retain the user's actual username.

Environment

MODX version 2.7.1-pl, apache 2.4, mysql 5.5, Chrome (tested on Linux, Mac & Windows.

I'm unclear as to the benefit of having autocomplete on any of the fields in the manager.
I see #6703 for the removal of autocomplete for the title field of resources too but this issue could be a real nuisance for unwary site admins.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.