diff options
author | Ivan Alejandro <ivanalejandro0@gmail.com> | 2013-11-19 17:08:22 -0300 |
---|---|---|
committer | Ivan Alejandro <ivanalejandro0@gmail.com> | 2013-11-19 17:08:22 -0300 |
commit | aa969cdbc9d8d0c77b0fa0e2c72164e8cb816c87 (patch) | |
tree | dc8df5eda4199c6f6cfe9de46c125f53cef0e016 /src | |
parent | 8efd282e38331c0decdf7d035ed3a174d1ff55cd (diff) |
Disable EIP if need login before to be usable.
Diffstat (limited to 'src')
-rw-r--r-- | src/leap/bitmask/gui/mainwindow.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/leap/bitmask/gui/mainwindow.py b/src/leap/bitmask/gui/mainwindow.py index b0f25af1..9074df2b 100644 --- a/src/leap/bitmask/gui/mainwindow.py +++ b/src/leap/bitmask/gui/mainwindow.py @@ -366,6 +366,7 @@ class MainWindow(QtGui.QMainWindow): # if we don't have any provider configured (included a pinned # one) we can't use the application, so quit. self.quit() + self.eip_needs_login.emit() else: self._finish_init() @@ -574,6 +575,9 @@ class MainWindow(QtGui.QMainWindow): if possible_password is not None: self._login_widget.set_password(possible_password) self._login() + else: + self.eip_needs_login.emit() + self._wizard = None else: self._try_autostart_eip() |