ドメインごとに入力したIDとパスワードをブラウザが記憶して、次回から自動的に補完してくれるautocomplete機能があります。
これが気に入らないとクライアントから言われてautocompleteを無効化する方法を検討しました。
IDが候補でリスト表示されるのも気に入りません。
form自体に設定
<form method="post" action="/" autocomplete="off"> <input type="text" name="username"> <input type="password" name="password"> <input type="submit"> </form>
passwordフィールドに設定
<form method="post" action="/"> <input type="text" name="username"> <input type="password" name="password" autocomplete="off"> <input type="submit"> </form>
言うことを聞いてくれません。
特にChromeは頑なです。