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:
hieplq 2019-07-25 21:58:09 +07:00
parent 9d9eb132c4
commit 96508b61f7
1 changed files with 1 additions and 1 deletions

View File

@ -277,7 +277,7 @@ public class ChangePasswordPanel extends Window implements EventListener<Event>
else if (event.getTarget().getId().equals(ConfirmPanel.A_CANCEL)) else if (event.getTarget().getId().equals(ConfirmPanel.A_CANCEL))
{ {
SessionManager.logoutSession(); SessionManager.logoutSession();
wndLogin.loginCancelled(); //wndLogin.loginCancelled();
} }
else if (event.getTarget() == txtNewPassword) { else if (event.getTarget() == txtNewPassword) {
MPasswordRule pwdrule = MPasswordRule.getRules(Env.getCtx(), null); MPasswordRule pwdrule = MPasswordRule.getRules(Env.getCtx(), null);