Firefox enters saved password in the username field
I'm trying to use the Firefox "Logins and Passwords" saving option. With one website, when I open it to the login page, Firefox enters the password in the username field and nothing in the password field. I've checked "Saved Logins..." and verified that the information is entered correctly. Why doesn't it work?
Isisombulu esikhethiweyo
For me it is this:
USERNAME:<input class="aui-field-input aui-field-input-text" id="_ParticipantLogon20_WAR_ahcommonauthportlet_userId" name="_ParticipantLogon20_WAR_ahcommonauthportlet_userId" placeholder="xxx" type="password" value="">
PASSWORD:
<input class="aui-field-input aui-field-input-text" id="_ParticipantLogon20_WAR_ahcommonauthportlet_password" name="_ParticipantLogon20_WAR_ahcommonauthportlet_password" placeholder="xxx" type="password" value="">
The difference is that you have an extra class name "aui-text-placeholder" and that both have type="text", so it looks that in your case JavaScript has modified the form. I get bullets if I type in either field and I assume that you see plain text visible. Funda le mpendulo kwimeko leyo 👍 1
All Replies (7)
You can try to remove this entry in Lockwise and manually recreate it via "Create New Login".
Firefox wouldn't normally enter the password in a username field unless it is stored as saved from data.
You can use these steps to remove saved items from an autocomplete drop-down list.
- click the (empty) input field on the web page to open the drop-down list
- highlight an entry in the drop-down list with cursor Down key
do not click the mouse or press the Enter key - press Shift+Delete (68+) or Delete to delete the highlighted entry
Note that hovering with the mouse doesn't work.
Can you possibly post a link to this login page ?
Thanks. I did as you suggested, and the next time I (manually) entered my username and password in the designated fields and logged in, Firefox asked whether I wanted to save "No user name" in the name field and the (correct) password in the password field. I entered my username to replace "No user name" and clicked Save. Once again, when I accessed the site, Firefox put my password in the username field and nothing in the password field. I also tried leaving "No user name" as the username, with the same result. (My guess now is that the website has not been configured correctly.)
(I sent this reply along with a link to the problem website to you privately yesterday as I'm a little reluctant to post the website on a public site such as this.)
Both username and password input field have type="password" and that is why Firefox fills the password in the username field and assumes that there is no username present (that field should have type="text").
u can verify this if you right-click either field and open the Inspector (Inspect Element).
A possible workaround is to create the login manually on the Lockwise page and create a login block exception to prevent Firefox from asking to update.
- Options/Preferences -> Privacy & Security: Logins and Passwords: Exceptions
You will still have to type the username, but you should be able to fill the password via the right-click context menu (I see Fill Password for both fields)
You would have to disable autofill to prevent Firefox from filling the password in the username field.
- Options/Preferences -> Privacy & Security: Logins and Passwords: Autofill logins and passwords
Thanks for the information. I did as you suggested and used "Inspect Element" for both fields. Here are the results:
USER ID <input class="aui-field-input aui-field-input-text aui-text-placeholder" id="_ParticipantLogon20_WAR_ahcommonauthportlet_userId" name="_ParticipantLogon20_WAR_ahcommonauthportlet_userId" placeholder="xxx" type="text" value="">
PASSWORD <input class="aui-field-input aui-field-input-text aui-text-placeholder" id="_ParticipantLogon20_WAR_ahcommonauthportlet_password" name="_ParticipantLogon20_WAR_ahcommonauthportlet_password" placeholder="xxx" type="text" value="">
As you suggested, they both have the same type; however the type seems to be "text" rather than "password" as I think you said. It probably doesn't make much difference, but I just wanted to be sure I understood you correctly.
Do you think this was a mistake by the web page designer, or is it something that is done deliberately to prevent users from automatically entering data?
Isisombululo esiKhethiweyo
For me it is this:
USERNAME:<input class="aui-field-input aui-field-input-text" id="_ParticipantLogon20_WAR_ahcommonauthportlet_userId" name="_ParticipantLogon20_WAR_ahcommonauthportlet_userId" placeholder="xxx" type="password" value="">
PASSWORD:
<input class="aui-field-input aui-field-input-text" id="_ParticipantLogon20_WAR_ahcommonauthportlet_password" name="_ParticipantLogon20_WAR_ahcommonauthportlet_password" placeholder="xxx" type="password" value="">
The difference is that you have an extra class name "aui-text-placeholder" and that both have type="text", so it looks that in your case JavaScript has modified the form. I get bullets if I type in either field and I assume that you see plain text visible.
Ilungisiwe
Yes, I get plain text. I didn't know that Javascript modified forms like that. In any case, it's getting more complex than I think I want to go, so thanks for your help; I'll just keep entering the information manually for that website.