Disable browser 'Save Password' functionality

前端 未结 30 3359
失恋的感觉
失恋的感觉 2020-11-21 23:29

One of the joys of working for a government healthcare agency is having to deal with all of the paranoia around dealing with PHI (Protected Health Information). Don\'t get m

30条回答
  •  遇见更好的自我
    2020-11-21 23:54

    Well, its a very old post, but still I will give my solution, which my team had been trying to achieve for long. We just added a new input type="password" field inside the form and wrapped it in div and made the div hidden. Made sure that this div is before the actual password input. This worked for us and it didn't gave any Save Password option

    Plunk - http://plnkr.co/edit/xmBR31NQMUgUhYHBiZSg?p=preview

    HTML:

    CSS:

    .hidden {display:none;}
    

提交回复
热议问题