Reputation: 33
I would like to stop my login form from auto filling the username and password. I used autocomplete ="off" but this seem not to help tried this:
<input type="text" name="username" class="form-control" placeholder="" autocomplete="off">
<input type="password" name="password" class="form-control" placeholder="" autocomplete="off">
Upvotes: 0
Views: 147
Reputation: 36
You can just turn off autocomplete for the form completely seeing it's just a login form<form autocomplete="off"></form>
Upvotes: 1