KEYCLOAK-2568 Add autocomplete=off to password and otp input fields

This commit is contained in:
Stian Thorgersen 2016-03-03 06:29:38 +01:00
parent 860b58552e
commit 4214793a2d
4 changed files with 7 additions and 7 deletions

View file

@ -18,7 +18,7 @@
</div> </div>
<div class="col-sm-10 col-md-10"> <div class="col-sm-10 col-md-10">
<input type="password" class="form-control" id="password" name="password" autofocus> <input type="password" class="form-control" id="password" name="password" autofocus autocomplete="off">
</div> </div>
</div> </div>
</#if> </#if>
@ -31,7 +31,7 @@
</div> </div>
<div class="col-sm-10 col-md-10"> <div class="col-sm-10 col-md-10">
<input type="password" class="form-control" id="password-new" name="password-new"> <input type="password" class="form-control" id="password-new" name="password-new" autocomplete="off">
</div> </div>
</div> </div>
@ -41,7 +41,7 @@
</div> </div>
<div class="col-sm-10 col-md-10"> <div class="col-sm-10 col-md-10">
<input type="password" class="form-control" id="password-confirm" name="password-confirm"> <input type="password" class="form-control" id="password-confirm" name="password-confirm" autocomplete="off">
</div> </div>
</div> </div>

View file

@ -48,7 +48,7 @@
</div> </div>
<div class="col-sm-10 col-md-10"> <div class="col-sm-10 col-md-10">
<input type="text" class="form-control" id="totp" name="totp" autocomplete="off" autofocus> <input type="text" class="form-control" id="totp" name="totp" autocomplete="off" autofocus autocomplete="off">
<input type="hidden" id="totpSecret" name="totpSecret" value="${totp.totpSecret}" /> <input type="hidden" id="totpSecret" name="totpSecret" value="${totp.totpSecret}" />
</div> </div>
</div> </div>

View file

@ -11,7 +11,7 @@
<label for="password-new" class="${properties.kcLabelClass!}">${msg("passwordNew")}</label> <label for="password-new" class="${properties.kcLabelClass!}">${msg("passwordNew")}</label>
</div> </div>
<div class="${properties.kcInputWrapperClass!}"> <div class="${properties.kcInputWrapperClass!}">
<input type="password" id="password-new" name="password-new" class="${properties.kcInputClass!}" autofocus /> <input type="password" id="password-new" name="password-new" class="${properties.kcInputClass!}" autofocus autocomplete="off" />
</div> </div>
</div> </div>
@ -20,7 +20,7 @@
<label for="password-confirm" class="${properties.kcLabelClass!}">${msg("passwordConfirm")}</label> <label for="password-confirm" class="${properties.kcLabelClass!}">${msg("passwordConfirm")}</label>
</div> </div>
<div class="${properties.kcInputWrapperClass!}"> <div class="${properties.kcInputWrapperClass!}">
<input type="password" id="password-confirm" name="password-confirm" class="${properties.kcInputClass!}" /> <input type="password" id="password-confirm" name="password-confirm" class="${properties.kcInputClass!}" autocomplete="off" />
</div> </div>
</div> </div>

View file

@ -27,7 +27,7 @@
</div> </div>
<div class="${properties.kcInputWrapperClass!}"> <div class="${properties.kcInputWrapperClass!}">
<input id="password" class="${properties.kcInputClass!}" name="password" type="password" /> <input id="password" class="${properties.kcInputClass!}" name="password" type="password" autocomplete="off" />
</div> </div>
</div> </div>