summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/gui
diff options
context:
space:
mode:
authorIvan Alejandro <ivanalejandro0@gmail.com>2013-11-19 17:08:22 -0300
committerIvan Alejandro <ivanalejandro0@gmail.com>2013-11-19 17:08:22 -0300
commitaa969cdbc9d8d0c77b0fa0e2c72164e8cb816c87 (patch)
treedc8df5eda4199c6f6cfe9de46c125f53cef0e016 /src/leap/bitmask/gui
parent8efd282e38331c0decdf7d035ed3a174d1ff55cd (diff)
Disable EIP if need login before to be usable.
Diffstat (limited to 'src/leap/bitmask/gui')
-rw-r--r--src/leap/bitmask/gui/mainwindow.py4
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()