Disable persisting login preferences when connecting to dev server
authorCherian Mathew <c.mathew@bgbm.org>
Thu, 10 Sep 2015 08:59:57 +0000 (10:59 +0200)
committerCherian Mathew <c.mathew@bgbm.org>
Thu, 10 Sep 2015 08:59:57 +0000 (10:59 +0200)
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/dialog/RemotingLoginDialog.java

index b4a44ab3ccecec459f9e5f28b0e244ef27fc49d3..4360f5e7ad65ef924d4ddc5e011e81cbe3b742f3 100644 (file)
@@ -777,7 +777,7 @@ public class RemotingLoginDialog extends Dialog {
         Display.getDefault().asyncExec(new Runnable() {
             @Override
             public void run() {
-                if(isRememberMe()) {
+                if(isRememberMe() && loadLoginPrefs) {
                     persistPrefCredentials();
                 }
                 persistPrefLastServerInstance();