From 8f85d7ecdd60ca6a3fe8d1945bfd5253ef649252 Mon Sep 17 00:00:00 2001 From: Ivan Alejandro Date: Thu, 29 Jan 2015 13:53:43 -0300 Subject: Use the right provider to log in. FIX: Login attempt is made against previously selected provider. Closes #6654. Remove unused comments as well. --- src/leap/bitmask/gui/mainwindow.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/leap/bitmask/gui/mainwindow.py') 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()) -- cgit v1.2.3