IDEMPIERE-5210 - Login Event Handler not redirecting to login page after error (#1207)
This commit is contained in:
parent
31b758cd76
commit
b1d1ac2bba
|
@ -124,6 +124,7 @@ public class ValidateMFAPanel extends Window implements EventListener<Event> {
|
|||
|
||||
String registerCookie = getCookie(getCookieName());
|
||||
login = new Login(ctx);
|
||||
this.addEventListener(ON_DEFER_LOGOUT, this);
|
||||
if (login.isMFARequired(registerCookie)) {
|
||||
initComponents(registerCookie != null);
|
||||
init();
|
||||
|
@ -295,7 +296,6 @@ public class ValidateMFAPanel extends Window implements EventListener<Event> {
|
|||
txtValidationCode.setCols(25);
|
||||
ZKUpdateUtil.setWidth(txtValidationCode, "220px");
|
||||
txtValidationCode.setDisabled(true);
|
||||
this.addEventListener(ON_DEFER_LOGOUT, this);
|
||||
}
|
||||
|
||||
public void onEvent(Event event) {
|
||||
|
|
Loading…
Reference in New Issue