开发者

Is there a way to tell Chrome to save passwords by fieldname?

开发者 https://www.devze.com 2023-03-30 02:20 出处:网络
I\'m creating a website and I got 2 forms on the first page : Login & Registration. When I authenticate, Chrome asks me to save my password.

I'm creating a website and I got 2 forms on the first page : Login & Registration.

When I authenticate, Chrome asks me to save my password. If I do so, when I get back on that page, Google Chrome auto fill my login informations on the Login form but also on the registration form. The "login" fields on the Login and Registration forms have two different names and IDs.

It seems that Chrome auto fill the login and password informations every time it finds an input field with the password type.

开发者_运维百科

I could use "autocomplete=off" on my password field ( on the Registration form ), but this behavior of Chrome seems weird.

So my question is :

Is there a way to tell Chrome to save the login & passwords informations based on the field name and not just the type ?

Thanks

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号