You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ar...@apache.org on 2017/07/08 21:07:51 UTC

svn commit: r1801324 - in /ofbiz/ofbiz-framework/trunk: applications/content/data/ applications/content/template/survey/ framework/common/template/ themes/rainbowstone/template/

Author: arunpatidar
Date: Sat Jul  8 21:07:51 2017
New Revision: 1801324

URL: http://svn.apache.org/viewvc?rev=1801324&view=rev
Log:
Improved: Set autocomplete to off for all the password fields.(OFBIZ-9471)
Thanks Ritesh Kumar for your contribution.

Modified:
    ofbiz/ofbiz-framework/trunk/applications/content/data/TemplateData.xml
    ofbiz/ofbiz-framework/trunk/applications/content/template/survey/GenericSurvey.ftl
    ofbiz/ofbiz-framework/trunk/framework/common/template/ChangePassword.ftl
    ofbiz/ofbiz-framework/trunk/framework/common/template/Login.ftl
    ofbiz/ofbiz-framework/trunk/themes/rainbowstone/template/ChangePassword.ftl
    ofbiz/ofbiz-framework/trunk/themes/rainbowstone/template/Login.ftl

Modified: ofbiz/ofbiz-framework/trunk/applications/content/data/TemplateData.xml
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/content/data/TemplateData.xml?rev=1801324&r1=1801323&r2=1801324&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/applications/content/data/TemplateData.xml (original)
+++ ofbiz/ofbiz-framework/trunk/applications/content/data/TemplateData.xml Sat Jul  8 21:07:51 2017
@@ -110,7 +110,7 @@ under the License.
                         <td align='left'><span>Password: </span></td>
                        </tr>
                        <tr>
-                         <td align='left'><input type="password" class='inputBox' name="PASSWORD" value="" size="20"></td>
+                         <td align='left'><input type="password" class='inputBox' name="PASSWORD" autocomplete="off" value="" size="20"></td>
                       </tr>
                       <tr>
                         <td colspan="2" align="center"><input type="submit" value="Login"></td>

Modified: ofbiz/ofbiz-framework/trunk/applications/content/template/survey/GenericSurvey.ftl
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/content/template/survey/GenericSurvey.ftl?rev=1801324&r1=1801323&r2=1801324&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/applications/content/template/survey/GenericSurvey.ftl (original)
+++ ofbiz/ofbiz-framework/trunk/applications/content/template/survey/GenericSurvey.ftl Sat Jul  8 21:07:51 2017
@@ -65,7 +65,7 @@ under the License.
   <#elseif surveyQuestionAndAppl.surveyQuestionTypeId == "NUMBER_LONG"/>
     <input type="text" size="6" class="inputBox" name="${questionFieldName}" value="${(answer.numericResponse?default(defValue)?string("#"))!}" />
   <#elseif surveyQuestionAndAppl.surveyQuestionTypeId == "PASSWORD"/>
-    <input type="password" size="30" class="textBox" name="${questionFieldName}" value="${(answer.textResponse)?default(defValue!)}" />
+    <input type="password" size="30" class="textBox" name="${questionFieldName}" autocomplete="off" value="${(answer.textResponse)?default(defValue!)}" />
   <#elseif surveyQuestionAndAppl.surveyQuestionTypeId == "CONTENT"/>
      <#if (answer.contentId)?has_content>
       <#assign content = answer.getRelatedOne("Content", false)>

Modified: ofbiz/ofbiz-framework/trunk/framework/common/template/ChangePassword.ftl
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/framework/common/template/ChangePassword.ftl?rev=1801324&r1=1801323&r2=1801324&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/framework/common/template/ChangePassword.ftl (original)
+++ ofbiz/ofbiz-framework/trunk/framework/common/template/ChangePassword.ftl Sat Jul  8 21:07:51 2017
@@ -45,16 +45,16 @@ under the License.
         <#else>
           <tr>
             <td class="label">${uiLabelMap.CommonCurrentPassword}</td>
-            <td><input type="password" name="PASSWORD" value="" size="20" /></td>
+            <td><input type="password" name="PASSWORD" autocomplete="off" value="" size="20" /></td>
           </tr>
         </#if>
         <tr>
           <td class="label">${uiLabelMap.CommonNewPassword}</td>
-          <td><input type="password" name="newPassword" value="" size="20"/></td>
+          <td><input type="password" name="newPassword" autocomplete="off" value="" size="20"/></td>
         </tr>
         <tr>
           <td class="label">${uiLabelMap.CommonNewPasswordVerify}</td>
-          <td><input type="password" name="newPasswordVerify" value="" size="20"/></td>
+          <td><input type="password" name="newPasswordVerify" autocomplete="off" value="" size="20"/></td>
         </tr>
         <#if securityQuestion?has_content>
           <tr>

Modified: ofbiz/ofbiz-framework/trunk/framework/common/template/Login.ftl
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/framework/common/template/Login.ftl?rev=1801324&r1=1801323&r2=1801324&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/framework/common/template/Login.ftl (original)
+++ ofbiz/ofbiz-framework/trunk/framework/common/template/Login.ftl Sat Jul  8 21:07:51 2017
@@ -40,7 +40,7 @@ under the License.
           </tr>
           <tr>
             <td class="label">${uiLabelMap.CommonPassword}</td>
-            <td><input type="password" name="PASSWORD" value="" size="20"/></td>
+            <td><input type="password" name="PASSWORD" autocomplete="off" value="" size="20"/></td>
           </tr>
           <#if ("Y" == useMultitenant) >
             <#if !requestAttributes.userTenantId??>

Modified: ofbiz/ofbiz-framework/trunk/themes/rainbowstone/template/ChangePassword.ftl
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/themes/rainbowstone/template/ChangePassword.ftl?rev=1801324&r1=1801323&r2=1801324&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/themes/rainbowstone/template/ChangePassword.ftl (original)
+++ ofbiz/ofbiz-framework/trunk/themes/rainbowstone/template/ChangePassword.ftl Sat Jul  8 21:07:51 2017
@@ -45,16 +45,16 @@ under the License.
         <#else>
           <tr>
             <td class="label">${uiLabelMap.CommonCurrentPassword}</td>
-            <td><input type="password" name="PASSWORD" value="" size="20" /></td>
+            <td><input type="password" name="PASSWORD" autocomplete="off" value="" size="20" /></td>
           </tr>
         </#if>
         <tr>
           <td class="label">${uiLabelMap.CommonNewPassword}</td>
-          <td><input type="password" name="newPassword" value="" size="20"/></td>
+          <td><input type="password" name="newPassword" autocomplete="off" value="" size="20"/></td>
         </tr>
         <tr>
           <td class="label">${uiLabelMap.CommonNewPasswordVerify}</td>
-          <td><input type="password" name="newPasswordVerify" value="" size="20"/></td>
+          <td><input type="password" name="newPasswordVerify" autocomplete="off" value="" size="20"/></td>
         </tr>
         <#if securityQuestion?has_content>
           <tr>

Modified: ofbiz/ofbiz-framework/trunk/themes/rainbowstone/template/Login.ftl
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/themes/rainbowstone/template/Login.ftl?rev=1801324&r1=1801323&r2=1801324&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/themes/rainbowstone/template/Login.ftl (original)
+++ ofbiz/ofbiz-framework/trunk/themes/rainbowstone/template/Login.ftl Sat Jul  8 21:07:51 2017
@@ -41,7 +41,7 @@ under the License.
           </tr>
           <tr>
             <td class="label">${uiLabelMap.CommonPassword}</td>
-            <td><input type="password" name="PASSWORD" value="" size="20"/></td>
+            <td><input type="password" name="PASSWORD" autocomplete="off" value="" size="20"/></td>
           </tr>
           <#if ("Y" == useMultitenant) >
               <#if !requestAttributes.userTenantId??>