opendcim / openDCIM

An open source (GPL v3) Data Center Inventory Management (DCIM) application.
http://opendcim.org
306 stars 205 forks source link

Proposed fix for #1391 - in JS set proxmox username/password fields t… #1398

Closed FliesLikeABrick closed 1 year ago

FliesLikeABrick commented 1 year ago

Proposed fix for #1391 - in JS set proxmox username/password fields to type=hidden so that unexpected browser-side autofill does not occur. By setting these to type=hidden, the browser/DOM knows they are actually hidden instead of having to determine whether they are just not rendered visibly (hidden via CSS, etc). Password managers appear to correectly ignore type=hidden since they are clearly not user-interactive fields.