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.
Create a user via the API without a password on a domain you have an autocomplete username for.
For users with no password, on Chrome the username is filled in with the first entry from my autocomplete list replacing the original username.
It should retain the user's actual username.
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.
This can be a big problem for site owners because you could go to unblock a user, and unless you're paying careful attention, your username can overwrite the username of the person you're trying to unblock.
Thanks for taking time to report this issue. Changes fixing this issue have been merged and will be included in MODX 2.7.3 and 3.x.
Thanks Joshua!
Kind regards,
Joe Molloy
F R E E L A N C E W E B D E V E L O P E R
Mobile: +353 86 6087493
Twitter: twitter.com/FreelanceWebDev
On Wed, 27 Nov 2019 at 12:13, Joshua Lückers notifications@github.com
wrote:
Thanks for taking time to report this issue. Changes fixing this issue
have been merged and will be included in MODX 2.7.3 and 3.x.—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/modxcms/revolution/issues/14699?email_source=notifications&email_token=AADVGXSQINF3PEHAD37C2P3QVZQADA5CNFSM4IPHUO3KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFJJ5AA#issuecomment-559062656,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AADVGXSYPEMR6KND52EIGL3QVZQADANCNFSM4IPHUO3A
.
Most helpful comment
This can be a big problem for site owners because you could go to unblock a user, and unless you're paying careful attention, your username can overwrite the username of the person you're trying to unblock.