From 4ae52ef5d7ce24f3989d0ce5eb290e0b3dc26e50 Mon Sep 17 00:00:00 2001
From: Tristan Cavelier <tristan.cavelier@tiolive.com>
Date: Thu, 22 May 2014 08:31:10 +0000
Subject: [PATCH] "Remember my name" removed

---
 .../portal_skins/erp5_credential/login_form.xml      |  6 ------
 bt5/erp5_credential/bt/revision                      |  2 +-
 .../portal_skins/erp5_mobile_ui/login_form.xml       | 12 +-----------
 bt5/erp5_mobile/bt/revision                          |  2 +-
 .../portal_skins/erp5_xhtml_style/login_form.xml     |  9 +--------
 product/ERP5/bootstrap/erp5_xhtml_style/bt/revision  |  2 +-
 6 files changed, 5 insertions(+), 28 deletions(-)

diff --git a/bt5/erp5_credential/SkinTemplateItem/portal_skins/erp5_credential/login_form.xml b/bt5/erp5_credential/SkinTemplateItem/portal_skins/erp5_credential/login_form.xml
index 57c300ff54..61c40ad85a 100644
--- a/bt5/erp5_credential/SkinTemplateItem/portal_skins/erp5_credential/login_form.xml
+++ b/bt5/erp5_credential/SkinTemplateItem/portal_skins/erp5_credential/login_form.xml
@@ -74,11 +74,6 @@
               <div class="input"><input type="password" name="__ac_password" id="password" /></div>\n
               <p class="clear"></p>\n
             </div>\n
-            <div class="field">\n
-              <label for="cb_remember" i18n:translate="" i18n:domain="ui">Remember my name</label>\n
-              <div class="input"><input type="checkbox" name="__ac_persistent" value="1" checked="checked" id="cb_remember" /></div>\n
-              <p class="clear"></p>\n
-            </div>\n
             <div class="field">\n
               <label>&nbsp;</label>\n
               <div class="input">\n
@@ -99,7 +94,6 @@
           <script type="text/javascript">setFocus()</script>\n
           <p i18n:translate="" i18n:domain="ui">Having trouble logging in? Make sure to enable cookies in your web browser.</p>\n
           <p i18n:translate="" i18n:domain="ui">Do not forget to logout or exit your browser when you are done.</p>\n
-          <p i18n:translate="" i18n:domain="ui">Setting the \'Remember my name\' option will set a cookie with your username, so that when you login next time, your user name will already be filled in for you.</p>\n
         </div>\n
       </tal:block>\n
     </tal:block>\n
diff --git a/bt5/erp5_credential/bt/revision b/bt5/erp5_credential/bt/revision
index af40ff6b88..1fde7522a7 100644
--- a/bt5/erp5_credential/bt/revision
+++ b/bt5/erp5_credential/bt/revision
@@ -1 +1 @@
-433
\ No newline at end of file
+434
\ No newline at end of file
diff --git a/bt5/erp5_mobile/SkinTemplateItem/portal_skins/erp5_mobile_ui/login_form.xml b/bt5/erp5_mobile/SkinTemplateItem/portal_skins/erp5_mobile_ui/login_form.xml
index 32c42d95fe..2e90a3d3c2 100644
--- a/bt5/erp5_mobile/SkinTemplateItem/portal_skins/erp5_mobile_ui/login_form.xml
+++ b/bt5/erp5_mobile/SkinTemplateItem/portal_skins/erp5_mobile_ui/login_form.xml
@@ -96,14 +96,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.\n
           <div class="input"><input type="password" name="__ac_password" id="password"/></div>\n
         </div>\n
         <div class="field">\n
-\n
-          <input type="checkbox" name="__ac_persistent" value="1" checked="checked" id="cb_remember">\n
-          <span tal:content="python: \'Remember my name\'"></span>\n
-\n
-          <!-- <label for="cb_remember" i18n:translate="" i18n:domain="ui">Remember my name</label>\n
-          <div class="input"><input type="checkbox" name="__ac_persistent" value="1" checked="checked" id="cb_remember"/></div> -->\n
-        </div>\n
-        <div class="field">\n
           <label>&nbsp;</label>\n
           <div class="input">\n
             <input type="submit" value="Login" class="button"\n
@@ -124,13 +116,11 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.\n
     <div class="text_div">\n
       <p i18n:translate="" i18n:domain="ui" class="info">> Having trouble logging in? Make sure to enable cookies in your web browser.</p>\n
       <p i18n:translate="" i18n:domain="ui" class="info">> Don\'t forget to logout or exit your browser when you\'re done.</p>\n
-      <p i18n:translate="" i18n:domain="ui" class="info">> Setting the \'Remember my name\' option will set a cookie with your username, so that when you next log in, your user name will already be filled in for you.</p>\n
     </div>\n
     </div>\n
   </tal:block>\n
 </tal:block>\n
-</tal:block>\n
-
+</tal:block>
 
 ]]></unicode> </value>
         </item>
diff --git a/bt5/erp5_mobile/bt/revision b/bt5/erp5_mobile/bt/revision
index d7765fe47e..2fb681e3f9 100644
--- a/bt5/erp5_mobile/bt/revision
+++ b/bt5/erp5_mobile/bt/revision
@@ -1 +1 @@
-70
\ No newline at end of file
+71
\ No newline at end of file
diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/login_form.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/login_form.xml
index 406c73ccef..6ab330c3a8 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/login_form.xml
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/login_form.xml
@@ -74,11 +74,6 @@
               <div class="input"><input type="password" name="__ac_password" id="password" /></div>\n
               <p class="clear"></p>\n
             </div>\n
-            <div class="field">\n
-              <label for="cb_remember" i18n:translate="" i18n:domain="ui">Remember my name</label>\n
-              <div class="input"><input type="checkbox" name="__ac_persistent" value="1" checked="checked" id="cb_remember" /></div>\n
-              <p class="clear"></p>\n
-            </div>\n
             <div class="field">\n
               <label>&nbsp;</label>\n
               <div class="input">\n
@@ -99,13 +94,11 @@
           <script type="text/javascript">setFocus()</script>\n
           <p i18n:translate="" i18n:domain="ui">Having trouble logging in? Make sure to enable cookies in your web browser.</p>\n
           <p i18n:translate="" i18n:domain="ui">Do not forget to logout or exit your browser when you are done.</p>\n
-          <p i18n:translate="" i18n:domain="ui">Setting the \'Remember my name\' option will set a cookie with your username, so that when you login next time, your user name will already be filled in for you.</p>\n
         </div>\n
       </tal:block>\n
     </tal:block>\n
   </tal:block>\n
-</tal:block>\n
-
+</tal:block>
 
 ]]></unicode> </value>
         </item>
diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision b/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision
index a42ee1244e..109da83db7 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision
@@ -1 +1 @@
-1116
\ No newline at end of file
+1117
\ No newline at end of file
-- 
2.30.9