Modify userId string

This commit is contained in:
spjspj 2017-02-09 19:41:24 +11:00
parent a08816123c
commit 0edd01c293
2 changed files with 17 additions and 1 deletions

View file

@ -391,7 +391,7 @@ public class ConnectDialog extends MageDialog {
connection.setUsername(this.txtUserName.getText().trim());
connection.setPassword(this.txtPassword.getText().trim());
connection.setForceDBComparison(this.chkForceUpdateDB.isSelected());
connection.setUserIdStr(System.getProperty("user.name"));
connection.setUserIdStr(System.getProperty("user.name") + ":" + MagePreferences.getUserNames());
MageFrame.getPreferences().put(KEY_CONNECT_FLAG, ((CountryItemEditor) cbFlag.getEditor()).getImageItem());
PreferencesDialog.setProxyInformation(connection);