From 5137e00dcac8f8b90ed12c65b24f82e2ff2fa69d Mon Sep 17 00:00:00 2001
From: Jared Hancock <jared@osticket.com>
Date: Mon, 16 Dec 2013 15:40:19 -0600
Subject: [PATCH] ui: Disable autocomplete on email login settings

---
 include/staff/email.inc.php | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/include/staff/email.inc.php b/include/staff/email.inc.php
index 8c0c45d92..33ddc72c1 100644
--- a/include/staff/email.inc.php
+++ b/include/staff/email.inc.php
@@ -123,7 +123,8 @@ $info=Format::htmlchars(($errors && $_POST)?$_POST:$info);
                 Username
             </td>
             <td>
-                <input type="text" size="35" name="userid" value="<?php echo $info['userid']; ?>">
+                <input type="text" size="35" name="userid" value="<?php echo $info['userid']; ?>"
+                    autocomplete="off" autocorrect="off">
                 &nbsp;<span class="error">&nbsp;<?php echo $errors['userid']; ?>&nbsp;</span>
             </td>
         </tr>
@@ -132,7 +133,8 @@ $info=Format::htmlchars(($errors && $_POST)?$_POST:$info);
                Password
             </td>
             <td>
-                <input type="password" size="35" name="passwd" value="<?php echo $info['passwd']; ?>">
+                <input type="password" size="35" name="passwd" value="<?php echo $info['passwd']; ?>"
+                    autocomplete="off">
                 &nbsp;<span class="error">&nbsp;<?php echo $errors['passwd']; ?>&nbsp;</span>
                 <br><em><?php echo $passwdtxt; ?></em>
             </td>
-- 
GitLab