Change Lastpass username

I have a form in which the username becomes pre-populated from the backend. When the page loads, the username is displayed in the username field. When lastpass boots, it changes username to the username, which is saved on the last pass. This is similar to the error that lastpass overwrites the username when it matters. Is there any way to prevent this?

enter image description here

In the above video, the predefined username is baz@qux.com . After lastpass is loaded, it will change to foo@bar.com .

PS. I am a developer. I am looking for a way to prevent this for my users.

+5
source share
1 answer

Using

 data-lpignore="true" 

In the html element.

According to lastpass protocol:

To prevent LastPass icons from appearing on your website or application in unwanted fields, add the data-lpignore = true attribute to the form fields, this will prevent LastPass icons from being created in these specific places.

Source: https://lastpass.com/support.php?cmd=showfaq&id=10512

+3
source

Source: https://habr.com/ru/post/1273157/


All Articles