Ask HN: HN's login page and password manager autofill issue
https://news.ycombinator.com/login
My password manager can't tell the difference between the login username text box and the new account username text box.. It fills in both, then sends an enter command, activating the button for new account.
I am a tester, not a developer, but I observed that the name id on both text boxes are the same. Maybe change the new account username form "name" to "new-acct-username" and the password managers might handle it better?
16 comments
[ 3.8 ms ] story [ 46.8 ms ] threadEdit: typo
The whole point of a password manager browser extension is to autofill usernames in username boxes, and autofill passwords into password boxes. Obviously a password is never put in a box where it would be visible, it's always a masked one.
And obviously it only does it if the domain matches.
I probably log into 10-15 sites a day on average. I sure as heck don't want to have to be manually searching my password manager, and copying a username, pasting a username, copying a password, and pasting a password each time. That would be literally minutes a day of totally wasted time for no reason.
It’s one where the password isn’t replaced with •••••• as you type it and remains visible.
These autofills never work perfectly IME. One thing that helps is to turn off having it try to automatically send the enter key and, instead, just allow it to fill the inputs so you can check that everything looks correct before you click to login.
It may be fixable via:
- Set the autocomplete="current-password" and autocomplete="new-password" respectively (this is standard[0]).
May help a password manager figure out what is going on. Unfortunately there's nothing standard like that for username or the login button (maybe there should be?).
[0] https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes...