diff options
author | Ivan Alejandro <ivanalejandro0@gmail.com> | 2015-01-29 13:53:43 -0300 |
---|---|---|
committer | Ivan Alejandro <ivanalejandro0@gmail.com> | 2015-01-30 12:49:18 -0300 |
commit | f7357bb1960ce11d85d0a2f2d70b3fe51d5b6dc7 (patch) | |
tree | 8c5aad678bf266b56243a3f118253f87e118300c /src/leap/bitmask | |
parent | d241cee3473a870663812a33f80ed2ea20b79df9 (diff) |
Use the right provider to log in.
FIX: Login attempt is made against previously selected provider.
Closes #6654.
Remove unused comments as well.
Diffstat (limited to 'src/leap/bitmask')
-rw-r--r-- | src/leap/bitmask/gui/mainwindow.py | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/leap/bitmask/gui/mainwindow.py b/src/leap/bitmask/gui/mainwindow.py index 24bf2542..bf61a6ba 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()) |