From a77ad0470e38ebe1674e952c310989b1a2a42098 Mon Sep 17 00:00:00 2001
From: Steve Divskinsy <stevesbrain@users.noreply.github.com>
Date: Fri, 19 May 2017 10:10:01 +0930
Subject: [PATCH] Turning autocomplete off for Yubi Tokens

---
 data/web/inc/tfa_modals.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/data/web/inc/tfa_modals.php b/data/web/inc/tfa_modals.php
index f77ee702..e113d94a 100644
--- a/data/web/inc/tfa_modals.php
+++ b/data/web/inc/tfa_modals.php
@@ -135,7 +135,7 @@ if (isset($_SESSION['pending_tfa_method'])):
           <div class="form-group">
             <div class="input-group">
               <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">
             </div>
           </div>
@@ -181,4 +181,4 @@ if (isset($_SESSION['pending_tfa_method'])):
 </div>
 <?php
 endif;
-?>
\ No newline at end of file
+?>