티스토리 뷰

728x90
[DOM] Input elements should have autocomplete attributes (suggested: "current-password"): (More info: https://goo.gl/9p2vKq) 
<input type=​"password" id=​"password" name=​"password" placeholder=​"비밀번호를 입력해주세요." onkeyup=​"enterkey()​;​">​

<input> 태그에 자동완성 기능을 해제하는 
 autocomplete="off" 추가 

<input type=​"password" id=​"password" name=​"password" placeholder=​"비밀번호를 입력해주세요." autocomplete="off" onkeyup=​"enterkey()​;​">​

 autocomplete="off"  = 자동완성을 금지한다.

 

* 단, 크롬이나 사파리 등에서 나타나는

[구글/애플/삼성 계정에 이 계정 저장하기]를 통해 저장된 정보는 금지되지 않는다.

이 또한 금지시키려면 아래에 나오는 new-password 값을 사용