summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Alejandro <ivanalejandro0@gmail.com>2015-02-19 18:34:44 -0300
committerKali Kaneko <kali@leap.se>2015-02-23 12:08:03 -0400
commit4bad7062364c72215da9fd2256451c7a3d0a356f (patch)
tree09846b654e985a0ae009e61ad2c7a5327ec05f8e
parentff705af455af17710bab34c7959f1c54fb963839 (diff)
Regression fix: Use the right provider to log in.
FIX: Login attempt is made against previously selected provider. Closes #6654.
-rw-r--r--changes/bug-6654_use-correct-provider1
-rw-r--r--src/leap/bitmask/gui/mainwindow.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/changes/bug-6654_use-correct-provider b/changes/bug-6654_use-correct-provider
new file mode 100644
index 00000000..511e2fea
--- /dev/null
+++ b/changes/bug-6654_use-correct-provider
@@ -0,0 +1 @@
+- #6654: Regression fix, login attempt is made against previously selected provider.
diff --git a/src/leap/bitmask/gui/mainwindow.py b/src/leap/bitmask/gui/mainwindow.py
index f5983abb..cbf7a636 100644
--- a/src/leap/bitmask/gui/mainwindow.py
+++ b/src/leap/bitmask/gui/mainwindow.py
@@ -776,6 +776,7 @@ class MainWindow(QtGui.QMainWindow, SignalTracker):
domain = self._settings.get_provider()
if domain is not None:
self._providers.select_provider_by_name(domain)
+ self._login_widget.set_provider(domain)
if not self._settings.get_remember():
# nothing to do here