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))
|
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);
|
||||||
|
|
Loading…
Reference in New Issue