pgadmin-org / pgadmin4

pgAdmin is the most popular and feature rich Open Source administration and development platform for PostgreSQL, the most advanced Open Source database in the world.
https://www.pgadmin.org
Other
2.27k stars 611 forks source link

"Connect to server" dialog password field autocomplete property is set to "new-password", preventing password managers from working #7627

Open ianbamforth opened 5 days ago

ianbamforth commented 5 days ago

Please note that security bugs or issues should be reported to security@pgadmin.org.

Describe the bug

When connecting to a new server, you are prompted for a password by a popup headed "Connect to server". I use a password manager, which should be offering me stored passwords for this site. It does not, and instead offers to create me a new password. This is likely because the password field is incorrectly labelled as autocomplete="new-password" rather than autocomplete="password".

To Reproduce

Steps to reproduce the behavior:

  1. With a password manager installed...
  2. Select a server to connect to, where the password is not stored
  3. Observe that the password manager offers to create a new password for you, rather than offering you a saved password

Expected behavior

Password managers should offer you a saved password when encountering a password field.

Error message

n/a

Screenshots

image

image

Desktop (please complete the following information):

Additional context

n/a