Merge pull request #2029 from stianst/KEYCLOAK-2307

KEYCLOAK-2307
This commit is contained in:
Stian Thorgersen 2016-01-14 16:33:45 +01:00
commit e913c8da16
3 changed files with 3 additions and 3 deletions

View file

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

View file

@ -11,7 +11,7 @@
<label for="otp" class="${properties.kcLabelClass!}">${msg("loginTotpOneTime")}</label>
</div>
<div class="${properties.kcInputWrapperClass!}">
<input type="text" id="totp" name="totp" class="${properties.kcInputClass!}" />
<input type="text" id="totp" name="totp" autocomplete="off" class="${properties.kcInputClass!}" />
</div>
<input type="hidden" id="totpSecret" name="totpSecret" value="${totp.totpSecret}" />
</div>

View file

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