搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

Learn More

How to designate user password fields so that firefox does not autofill login info into incorrect fields?

  • 3 个回答
  • 2 人有此问题
  • 9 次查看
  • 最后回复者为 cor-el

more options

I have a website that allows my customers to manage their business. Within, each customer manages their own customers. I have recently built a portal to allow them to give their customers a password to log in and manage their own orders. I am running into a problem where if a user allows Firefox to save their username and password for my domain, on their customer forms if they leave the Password blank for that customer, Firefox autofills that user's password into that field. I am at a loss as to how to stop Firefox from doing this other than disabling autofill on forms on my site completely. Any information would be greatly appreciated.

I have a website that allows my customers to manage their business. Within, each customer manages their own customers. I have recently built a portal to allow them to give their customers a password to log in and manage their own orders. I am running into a problem where if a user allows Firefox to save their username and password for my domain, on their customer forms if they leave the Password blank for that customer, Firefox autofills that user's password into that field. I am at a loss as to how to stop Firefox from doing this other than disabling autofill on forms on my site completely. Any information would be greatly appreciated.

所有回复 (3)

more options

Firefox apparently can't autofill some fields created by script. This is a complaint we sometimes see here about the Windows Live login form. I'm not sure of the exact requirements to prevent the password manager from working; reading all the comments on this bug gave me a headache: Bug 355063 – Password manager does not work on script-generated forms.

more options

Thanks for the response. I am floating the autocomplete="off" suggestion from that thread by my devs but I am not sure that this will be the solution I need. I may have omitted this from my original question but this only happens after the form is submitted. When loading the form to initially enter customer data the field shows as blank, but after submitting the form, then returning to the record, firefox has filled in the password field with that current user's password.

more options

Another way would be to place the password field on another page (i.e. initially only ask for the name) and ask for the password in another input form or page.