IDEMPIERE-358 Login- how to make unique and safe
This commit is contained in:
parent
c6c4c65120
commit
8b1c89c1a7
|
@ -1087,6 +1087,10 @@ public final class ALogin extends CDialog
|
|||
//
|
||||
this.setTitle(res.getString("Login"));
|
||||
hostLabel.setText(res.getString("Host"));
|
||||
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"));
|
||||
passwordLabel.setText(res.getString("Password"));
|
||||
|
|
Loading…
Reference in New Issue