disable autocomplete for otp input field

This commit is contained in:
Daniel Seifert 2018-10-19 00:38:01 +02:00
parent ad2085c603
commit fd3dbf5a12
1 changed files with 2 additions and 3 deletions

View File

@ -1,5 +1,4 @@
[{if $request_totp}]
<input autocomplete="false" name="hidden" type="text" style="display:none;">
[{$oViewConf->getHiddenSid()}]
<input type="hidden" name="fnc" value="checklogin">
@ -10,9 +9,9 @@
[{/if}]
<label for="d3totp">[{oxmultilang ident="TOTP_INPUT"}]</label>
<input type="text" name="d3totp" id="d3totp" value="" size="49" autofocus><br>
<input type="text" name="d3totp" id="d3totp" value="" size="49" autofocus autocomplete="off"><br>
[{oxmultilang ident="TOTP_INPUT_HELP"}]
[{else}]
[{$smarty.block.parent}]
[{/if}]
[{/if}]