From 43cbc2f297113b858a041d57f7258da4b7fd8d2b Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Tue, 16 Mar 2021 01:29:45 +0100 Subject: [PATCH] IDEMPIERE-4738 Password for user System cannot be changed (#633) IDEMPIERE-4287 --- .../src/org/adempiere/webui/apps/form/WResetPassword.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/form/WResetPassword.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/form/WResetPassword.java index ac413eb686..24113e8c9f 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/form/WResetPassword.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/form/WResetPassword.java @@ -309,7 +309,7 @@ public class WResetPassword implements IFormController, EventListener, Va String p_NewEMailUser = txtNewEMailUser.getValue(); String p_NewEMailUserPW = txtNewEMailUserPW.getValue(); - MUser user = new MUser(Env.getCtx(), p_AD_User_ID, (String)null); + MUser user = MUser.getCopy(Env.getCtx(), p_AD_User_ID, null); if (log.isLoggable(Level.FINE)) log.fine("User=" + user); // Do we need a password ?