This is an automated email from the ASF dual-hosted git repository.

cgivre pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/drill.git


The following commit(s) were added to refs/heads/master by this push:
     new 5f861d1c1e Set autocomplete="off" on the lgin form's password field. 
(#2743)
5f861d1c1e is described below

commit 5f861d1c1e9a8a93cd2c208475a39572d5984189
Author: James Turton <[email protected]>
AuthorDate: Fri Jan 20 16:35:50 2023 +0200

    Set autocomplete="off" on the lgin form's password field. (#2743)
---
 drill-yarn/src/main/resources/drill-am/login.ftl | 2 +-
 exec/java-exec/src/main/resources/rest/login.ftl | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drill-yarn/src/main/resources/drill-am/login.ftl 
b/drill-yarn/src/main/resources/drill-am/login.ftl
index e7fdc48eeb..e7b16c2129 100644
--- a/drill-yarn/src/main/resources/drill-am/login.ftl
+++ b/drill-yarn/src/main/resources/drill-am/login.ftl
@@ -33,7 +33,7 @@
           </div>
           </#if>
           <p><input type="text" size="30" name="j_username" 
placeholder="Username"></p>
-          <p><input type="password" size="30" name="j_password" 
placeholder="Password"></p>
+          <p><input type="password" size="30" name="j_password" 
placeholder="Password" autocomplete="off"></p>
           <p><button type="submit" class="btn btn-primary">Log In</button></p>
         </div>
       </fieldset>
diff --git a/exec/java-exec/src/main/resources/rest/login.ftl 
b/exec/java-exec/src/main/resources/rest/login.ftl
index 733b5e8f05..dbf1d25ead 100644
--- a/exec/java-exec/src/main/resources/rest/login.ftl
+++ b/exec/java-exec/src/main/resources/rest/login.ftl
@@ -32,7 +32,7 @@
           </#if>
           <h4>Log In to Drill Web Console</h4></br>
           <p><input type="text" size="30" name="j_username" 
placeholder="Username" autofocus></p>
-          <p><input type="password" size="30" name="j_password" 
placeholder="Password"></p>
+          <p><input type="password" size="30" name="j_password" 
placeholder="Password" autocomplete="off"></p>
           <p><button type="submit" class="btn btn-light">Log In</button> </p>
         </div>
       </fieldset>

Reply via email to