Disable login preferences in case of dev server
authorCherian Mathew <c.mathew@bgbm.org>
Mon, 7 Sep 2015 13:29:20 +0000 (15:29 +0200)
committerCherian Mathew <c.mathew@bgbm.org>
Mon, 7 Sep 2015 13:29:20 +0000 (15:29 +0200)
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/dialog/RemotingLoginDialog.java

index 994b1917688f41662582870a7233757777b85f14..b4a44ab3ccecec459f9e5f28b0e244ef27fc49d3 100644 (file)
@@ -463,6 +463,7 @@ public class RemotingLoginDialog extends Dialog {
                             if(username != null && !username.isEmpty() && password != null && !password.isEmpty()) {
                                 txtLogin.setText(username);
                                 txtPassword.setText(password);
                             if(username != null && !username.isEmpty() && password != null && !password.isEmpty()) {
                                 txtLogin.setText(username);
                                 txtPassword.setText(password);
+                                loadLoginPrefs = false;
                                 CdmStore.connect(devRemoteSource, RemotingLoginDialog.this);
                             }
                         }
                                 CdmStore.connect(devRemoteSource, RemotingLoginDialog.this);
                             }
                         }