Open Bug 443800 Opened 16 years ago Updated 2 years ago

Firefox stores wrong user name if multiple text fields are present

Categories

(Toolkit :: Password Manager, defect, P3)

defect

Tracking

()

People

(Reporter: volkmarkostka, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.1a1pre) Gecko/2008070504 Minefield/3.1a1pre
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.1a1pre) Gecko/2008070504 Minefield/3.1a1pre

For several sites like the mozillazine forum the sequence of the text fields is user name, email, email, password. In this case the email is stored as username.

First mentioned here:
http://forums.mozillazine.org/viewtopic.php?f=38&t=719055

Reproducible: Always

Steps to Reproduce:
1. go to e.g. the mozillazine register page.
2. Enter your data
3. register
4. Save the password.
5. Check the stored user name and password
Actual Results:  
The email address is stored as username.

Expected Results:  
Username/Password not stored.

Refuse to store the password if it is not clear what the user name is. And it is not useful to store the user name/password at all in such a condition because it is not clear how to fill in the data on a later visit.
Component: General → Password Manager
Product: Firefox → Toolkit
QA Contact: general → password.manager
Blocks: 533065
No longer blocks: 533065
This bug is very common in sites of banks and other organizations, that have 3 login fields: username, password and personal id. I think it is important that Firefox Password Manager supports such sites.
(In reply to erelsgl from comment #1)
> This bug is very common in sites of banks and other organizations, that have
> 3 login fields: username, password and personal id. I think it is important
> that Firefox Password Manager supports such sites.

Could you please provide example URLs as some sites may be fixable while others aren't?
Here are some URLs. They are partially Hebrew sites, but you can easily detect the login form with the 3 fields.

http://www.leumit.co.il/eng/home/ - on the right there is a form with username, password and id.
https://bank.postil.com/id.asp    - again form with username, password and id.
https://www.bankhapoalim.co.il/ - on the right, a form with username, id and password (note the reverse order)
(In reply to erelsgl from comment #3)
> Here are some URLs. They are partially Hebrew sites, but you can easily
> detect the login form with the 3 fields.

Are you wanting Firefox to store all three pieces of information? If so, then that's a separate bug. This is about storing the wrong field as the username which is similar but doesn't necessarily require the same solution. Do you know any other password managers that support this?
In the future it could be good to store all 3 pieces of information, but currently it is sufficient that Firefox just stores the correct username and password, while leaving the ID field empty.
I think it should be easy to detect the password field because it has "type='password'".
We don't have a problem detecting the password, it's what we detect as the username that may not be ideal (and that's what the bug summary says). Try Firefox Beta (29) with the pref "signon.overrideAutocomplete" set to true if the password isn't getting saved at all. https://www.mozilla.org/firefox/beta/

File a new bug if you see different issues (or find an existing one about the same issue).
Depends on: 1009935
Recipes could help with this.
See Also: → password-recipes
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows 2000 → All
Priority: -- → P3
Hardware: x86 → All
See Also: → 1119067
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.