Prevent browser autocomplete in password

3

I have a lock screen that displaces the user by inactivity, asking only the password of the same to access again. It turns out that this screen has no use whatsoever if autocomplete is connected, since anyone can tinker with this pc and enter into that user's account. I searched a lot and saw that autocomplete="off" , for example, is already being ignored by browsers.

Does anyone know a working method to solve this problem? By JQuery, a plugin anything of the kind. Or really only the client disabling the password save option?

    
asked by anonymous 09.04.2018 / 19:04

1 answer

0

Browsers probably only complete the first password field, try adding an invisible password field ( style="opacity: 0;position: absolute" ), and then enter the code you are really going to use in the code.

    
03.05.2018 / 08:31