IDEMPIERE-1937:same for change password pannel
SessionManager.logoutSession() clean current Execution, so Executions.getCurrent() return null so List<String> browserLanguages = browserLanguages(Executions.getCurrent().getHeader("accept-language")); on LoginPanel make NPE
This commit is contained in:
parent
9d9eb132c4
commit
96508b61f7
|
@ -277,7 +277,7 @@ public class ChangePasswordPanel extends Window implements EventListener<Event>
|
|||
else if (event.getTarget().getId().equals(ConfirmPanel.A_CANCEL))
|
||||
{
|
||||
SessionManager.logoutSession();
|
||||
wndLogin.loginCancelled();
|
||||
//wndLogin.loginCancelled();
|
||||
}
|
||||
else if (event.getTarget() == txtNewPassword) {
|
||||
MPasswordRule pwdrule = MPasswordRule.getRules(Env.getCtx(), null);
|
||||
|
|
Loading…
Reference in New Issue