newinnovations / remote-edit-ni

Atom package to browse and edit remote files using SSH and FTP. This fork supports atom 1.41.x and adds some new features.
https://atom.io/packages/remote-edit-ni
MIT License
18 stars 2 forks source link

[fix] Password field CSS hack to hide typed characters #13

Closed urban-1 closed 6 years ago

urban-1 commented 6 years ago

I had introduced a CSS hack borrowed from https://discuss.atom.io/t/password-fields-when-using-editorview-subview/11061/8 which emulates password fields - something that back then was not supported by atom views. This is only for on-screen "security" so your password cannot be read while being entered.

People have noticed that in the latest release the star characters are appearing on top of the password characters allowing someone to figure out what the underlying text is... This is being fixed in this PR with CSS background-color

Before: pwd-old

After: pwd-new