You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by as...@apache.org on 2013/12/01 08:05:00 UTC
svn commit: r1546785 -
/ofbiz/branches/release11.04/framework/common/webcommon/changePassword.ftl
Author: ashish
Date: Sun Dec 1 07:05:00 2013
New Revision: 1546785
URL: http://svn.apache.org/r1546785
Log:
Applied bug fix from trunk revision - 1546782.
Log Message: Bug fix. Reset password functionality doesn't work in multi-tenant environment as expected. Lets say you have created UserLogin data in any of the tenant and has set UserLogin.requirePasswordChange="Y" then when user try to login into tenant then reset password functionality doesn't work as user expects.
Modified:
ofbiz/branches/release11.04/framework/common/webcommon/changePassword.ftl
Modified: ofbiz/branches/release11.04/framework/common/webcommon/changePassword.ftl
URL: http://svn.apache.org/viewvc/ofbiz/branches/release11.04/framework/common/webcommon/changePassword.ftl?rev=1546785&r1=1546784&r2=1546785&view=diff
==============================================================================
--- ofbiz/branches/release11.04/framework/common/webcommon/changePassword.ftl (original)
+++ ofbiz/branches/release11.04/framework/common/webcommon/changePassword.ftl Sun Dec 1 07:05:00 2013
@@ -18,6 +18,7 @@ under the License.
-->
<#assign username = requestParameters.USERNAME?default((sessionAttributes.autoUserLogin.userLoginId)?default(""))>
+<#assign tenantId = requestParameters.tenantId!>
<center>
<div class="screenlet login-screenlet">
@@ -28,6 +29,7 @@ under the License.
<form method="post" action="<@o...@ofbizUrl>" name="loginform">
<input type="hidden" name="requirePasswordChange" value="Y"/>
<input type="hidden" name="USERNAME" value="${username}"/>
+ <input type="hidden" name="tenantId" value="${tenantId!}"/>
<table cellspacing="0">
<tr>
<td class="label">${uiLabelMap.CommonUsername}</td>