IDEMPIERE-1267 Temp password from "Forgot My Password" does not work. Accept patch from Richard Morales Herrera.

This commit is contained in:
Heng Sin Low 2013-08-13 22:14:17 +08:00
parent d09e29e342
commit 744329b375
1 changed files with 1 additions and 1 deletions

View File

@ -492,7 +492,7 @@ public class ResetPasswordPanel extends Window implements EventListener<Event>
protected boolean sendEmail(MUser to, String newPassword) protected boolean sendEmail(MUser to, String newPassword)
{ {
MClient client = MClient.get(m_ctx, to.getAD_Client_ID()); MClient client = MClient.get(m_ctx, 0);//change by: IDEMPIERE-1267 Temp password from "Forgot My Password" does not work
StringBuilder sql = new StringBuilder("SELECT R_MailText_ID "); StringBuilder sql = new StringBuilder("SELECT R_MailText_ID ");
sql.append("FROM R_MailText "); sql.append("FROM R_MailText ");