From ab4fdf240781e21888ca7447f04bf6ad3b00519c Mon Sep 17 00:00:00 2001
From: Georgios Dagkakis <georgios.dagkakis@nexedi.com>
Date: Tue, 26 May 2020 11:50:17 +0000
Subject: [PATCH] several BTs: __ac_password input in login_form should have
 autocomplete="off"

---
 .../portal_skins/erp5_credential/login_form.zpt               | 2 +-
 .../portal_skins/erp5_mobile_ui/login_form.zpt                | 4 ++--
 .../portal_skins/erp5_web_renderjs_ui/login_form.zpt          | 2 +-
 .../SkinTemplateItem/portal_skins/tiolive_base/login_form.zpt | 2 +-
 .../portal_skins/erp5_xhtml_style/login_form.zpt              | 2 +-
 5 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/bt5/erp5_credential/SkinTemplateItem/portal_skins/erp5_credential/login_form.zpt b/bt5/erp5_credential/SkinTemplateItem/portal_skins/erp5_credential/login_form.zpt
index 99502184d9..f6b45982b6 100644
--- a/bt5/erp5_credential/SkinTemplateItem/portal_skins/erp5_credential/login_form.zpt
+++ b/bt5/erp5_credential/SkinTemplateItem/portal_skins/erp5_credential/login_form.zpt
@@ -31,7 +31,7 @@
             </div>
             <div class="field">
               <label for="password" i18n:translate="" i18n:domain="ui">Password</label>
-              <div class="input"><input type="password" name="__ac_password" id="password" /></div>
+              <div class="input"><input type="password" name="__ac_password" id="password" autocomplete="off" /></div>
               <p class="clear"></p>
             </div>
             <div class="field">
diff --git a/bt5/erp5_mobile/SkinTemplateItem/portal_skins/erp5_mobile_ui/login_form.zpt b/bt5/erp5_mobile/SkinTemplateItem/portal_skins/erp5_mobile_ui/login_form.zpt
index ebe7ffb7ef..98a9610574 100644
--- a/bt5/erp5_mobile/SkinTemplateItem/portal_skins/erp5_mobile_ui/login_form.zpt
+++ b/bt5/erp5_mobile/SkinTemplateItem/portal_skins/erp5_mobile_ui/login_form.zpt
@@ -49,7 +49,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
         </div>
         <div class="field">
           <label for="password" i18n:translate="" i18n:domain="ui">Password</label>
-          <div class="input"><input type="password" name="__ac_password" id="password"/></div>
+          <div class="input"><input type="password" name="__ac_password" id="password" autocomplete="off" /></div>
         </div>
         <div class="field">
           <label>&nbsp;</label>
@@ -76,4 +76,4 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
     </div>
   </tal:block>
 </tal:block>
-</tal:block>
\ No newline at end of file
+</tal:block>
diff --git a/bt5/erp5_web_renderjs_ui/SkinTemplateItem/portal_skins/erp5_web_renderjs_ui/login_form.zpt b/bt5/erp5_web_renderjs_ui/SkinTemplateItem/portal_skins/erp5_web_renderjs_ui/login_form.zpt
index b5283e793e..0c4079a7a6 100644
--- a/bt5/erp5_web_renderjs_ui/SkinTemplateItem/portal_skins/erp5_web_renderjs_ui/login_form.zpt
+++ b/bt5/erp5_web_renderjs_ui/SkinTemplateItem/portal_skins/erp5_web_renderjs_ui/login_form.zpt
@@ -46,7 +46,7 @@
               </div>
               <div class="ui-field-contain">
                 <label i18n:domain="ui" i18n:translate="" >Password</label>
-                <div><input type="password" name="__ac_password" value="" required=""></div>
+                <div><input type="password" name="__ac_password" value="" required="" autocomplete="off" /></div>
               </div>
               <div class="ui-field-contain">
                 <label></label>
diff --git a/bt5/tiolive_base/SkinTemplateItem/portal_skins/tiolive_base/login_form.zpt b/bt5/tiolive_base/SkinTemplateItem/portal_skins/tiolive_base/login_form.zpt
index 3d46a67b8c..3f1123b709 100644
--- a/bt5/tiolive_base/SkinTemplateItem/portal_skins/tiolive_base/login_form.zpt
+++ b/bt5/tiolive_base/SkinTemplateItem/portal_skins/tiolive_base/login_form.zpt
@@ -28,7 +28,7 @@
             </div>
             <div class="field">
               <label for="password" i18n:translate="" i18n:domain="ui">Password</label>
-              <div class="input"><input type="password" name="__ac_password" id="password" /></div>
+              <div class="input"><input type="password" name="__ac_password" id="password" autocomplete="off" /></div>
               <p class="clear"></p>
             </div>
             <div class="field">
diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/login_form.zpt b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/login_form.zpt
index bb24afa800..cc32b5e01a 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/login_form.zpt
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/login_form.zpt
@@ -31,7 +31,7 @@
             </div>
             <div class="field">
               <label for="password" i18n:translate="" i18n:domain="ui">Password</label>
-              <div class="input"><input type="password" name="__ac_password" id="password" /></div>
+              <div class="input"><input type="password" name="__ac_password" id="password" autocomplete="off" /></div>
               <p class="clear"></p>
             </div>
             <div class="field">
-- 
2.30.9