Disable browser autocomplete when editing a user
Summary
When editing a user in the admin section to do something simple like changing the project limit, the browser will autocomplete the username field.
Steps to reproduce
- Use GitLab with your user, say
bruce.wayne
. - Keep that user in your browser's autocomplete.
- Go to Admin Area -> Users, and edit another user, say the user
batman
. - Your browser will update the username from
batman
tobruce.wayne
, so if you change any other setting without paying much attention and save, you'll get an error.
What is the current bug behavior?
Your browser will update the username from batman
to bruce.wayne
, so if you change any other setting without paying much attention and save, you'll get an error.
What is the expected correct behavior?
The username in the Admin Area should have auto-complete disabled, as admins are expected to edit other users frequently.
Possible fixes
The username in the Admin Area should have auto-complete disabled, as admins are expected to edit other users frequently.
Edited by 🤖 GitLab Bot 🤖