Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Firefox enters saved password in the username field

  • 7 replies
  • 1 has this problem
  • 27 views
  • Last reply by coffent

more options

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?

Chosen solution

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. Read this answer in context 👍 1

All Replies (7)

more options

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.

  1. click the (empty) input field on the web page to open the drop-down list
  2. highlight an entry in the drop-down list with cursor Down key
    do not click the mouse or press the Enter key
  3. 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 ?

Helpful?

more options

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.)

Helpful?

more options

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)

Helpful?

more options

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

Helpful?

more options

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?

Helpful?

more options

Chosen Solution

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.

Modified by cor-el

Helpful?

more options

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.

Helpful?

Ask a question

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.