IDEMPIERE-358 Login- how to make unique and safe
This commit is contained in:
parent
c6c4c65120
commit
8b1c89c1a7
|
@ -1087,7 +1087,11 @@ public final class ALogin extends CDialog
|
||||||
//
|
//
|
||||||
this.setTitle(res.getString("Login"));
|
this.setTitle(res.getString("Login"));
|
||||||
hostLabel.setText(res.getString("Host"));
|
hostLabel.setText(res.getString("Host"));
|
||||||
userLabel.setText(res.getString("User"));
|
boolean email_login = MSysConfig.getBooleanValue(MSysConfig.USE_EMAIL_FOR_LOGIN, false);
|
||||||
|
if (email_login)
|
||||||
|
userLabel.setText(res.getString("EMail"));
|
||||||
|
else
|
||||||
|
userLabel.setText(res.getString("User"));
|
||||||
userLabel.setToolTipText(res.getString("EnterUser"));
|
userLabel.setToolTipText(res.getString("EnterUser"));
|
||||||
passwordLabel.setText(res.getString("Password"));
|
passwordLabel.setText(res.getString("Password"));
|
||||||
passwordLabel.setToolTipText(res.getString("EnterPassword"));
|
passwordLabel.setToolTipText(res.getString("EnterPassword"));
|
||||||
|
|
Loading…
Reference in New Issue