Skip to content

Commit

Permalink
remove autocomplete from totp login - see #806
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidGoodwin committed Mar 30, 2024
1 parent 9370654 commit 6a8b341
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/login-mfa.tpl
Expand Up @@ -5,7 +5,7 @@
<input class="flat" type="hidden" name="token" value="{$smarty.session.PFA_token|escape:"url"}"/>
<div class="form-group {if $pTOPT_code_text}has-error{/if}">
<label class="col-md-4 col-sm-4 control-label" for="fTOTP_code">{$PALANG.pTOTP_code}:</label>
<div class="col-md-6 col-sm-8"><input id="TOTP_code" class="form-control" type="text" name="fTOTP_code" size="6" autofocus /></div>
<div class="col-md-6 col-sm-8"><input id="TOTP_code" class="form-control" autocomplete="off" type="text" name="fTOTP_code" size="6" autofocus /></div>
<span class="help-block">{$pTOPT_code_text}</span>
</div>
</div>
Expand Down

0 comments on commit 6a8b341

Please sign in to comment.