Turning autocomplete off for Yubi Tokens

This commit is contained in:
Steve Divskinsy 2017-05-19 10:10:01 +09:30
parent 9a896f9828
commit a77ad0470e

View File

@ -135,7 +135,7 @@ if (isset($_SESSION['pending_tfa_method'])):
<div class="form-group"> <div class="form-group">
<div class="input-group"> <div class="input-group">
<span class="input-group-addon" id="yubi-addon"><img alt="Yubicon Icon" src="/img/yubi.ico"></span> <span class="input-group-addon" id="yubi-addon"><img alt="Yubicon Icon" src="/img/yubi.ico"></span>
<input type="text" name="token" id="token" class="form-control" placeholder="Touch Yubikey" aria-describedby="yubi-addon"> <input type="text" name="token" id="token" class="form-control" autocomplete="off" placeholder="Touch Yubikey" aria-describedby="yubi-addon">
<input type="hidden" name="tfa_method" value="yubi_otp"> <input type="hidden" name="tfa_method" value="yubi_otp">
</div> </div>
</div> </div>
@ -181,4 +181,4 @@ if (isset($_SESSION['pending_tfa_method'])):
</div> </div>
<?php <?php
endif; endif;
?> ?>