summaryrefslogtreecommitdiff
path: root/src/leap
diff options
context:
space:
mode:
authorIvan Alejandro <ivanalejandro0@gmail.com>2015-01-29 13:53:43 -0300
committerIvan Alejandro <ivanalejandro0@gmail.com>2015-01-29 13:53:43 -0300
commit8f85d7ecdd60ca6a3fe8d1945bfd5253ef649252 (patch)
tree8f7a6decaf1080e2cfe4bb8066788a399f960d8c /src/leap
parent8cdeeadf9e258f31d401c133d73cfc29f86d9d29 (diff)
Use the right provider to log in.0.8.0rc4
FIX: Login attempt is made against previously selected provider. Closes #6654. Remove unused comments as well.
Diffstat (limited to 'src/leap')
-rw-r--r--src/leap/bitmask/gui/mainwindow.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/leap/bitmask/gui/mainwindow.py b/src/leap/bitmask/gui/mainwindow.py
index bbb43b94..f5983abb 100644
--- a/src/leap/bitmask/gui/mainwindow.py
+++ b/src/leap/bitmask/gui/mainwindow.py
@@ -471,18 +471,13 @@ class MainWindow(QtGui.QMainWindow, SignalTracker):
Load the resulting information of the user going through the Wizard.
Trigger the login sequence if needed.
"""
- # providers = self._settings.get_configured_providers()
- # self._providers.set_providers(providers)
-
- # provider = self._providers.get_selected_provider()
- # self._login_widget.set_provider(provider)
-
possible_username = self._wizard.get_username()
possible_password = self._wizard.get_password()
# select the configured provider in the combo box
domain = self._wizard.get_domain()
self._providers.select_provider_by_name(domain)
+ self._login_widget.set_provider(domain)
self._login_widget.set_remember(self._wizard.get_remember())
self._enabled_services = list(self._wizard.get_services())