summaryrefslogtreecommitdiff
path: root/src/leap
diff options
context:
space:
mode:
authorIvan Alejandro <ivanalejandro0@gmail.com>2014-04-02 16:29:29 -0300
committerIvan Alejandro <ivanalejandro0@gmail.com>2014-04-02 17:06:51 -0300
commit469a056387fa1d69dd14f0680fa0026e0a3ff80c (patch)
tree94ee8d3d9c69cf7c0446d077c33820a248468a7e /src/leap
parent962dbc30fd97176b30eac9df75e8ad1697972bf2 (diff)
Do not start soledad if its not provided and enabled.
[Closes #5411]
Diffstat (limited to 'src/leap')
-rw-r--r--src/leap/bitmask/gui/mainwindow.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/leap/bitmask/gui/mainwindow.py b/src/leap/bitmask/gui/mainwindow.py
index feb1e18b..04a98fac 100644
--- a/src/leap/bitmask/gui/mainwindow.py
+++ b/src/leap/bitmask/gui/mainwindow.py
@@ -1230,6 +1230,9 @@ class MainWindow(QtGui.QMainWindow):
if self._already_started_soledad is True:
return
+ if not self._provides_mx_and_enabled():
+ return
+
username = self._login_widget.get_user()
password = unicode(self._login_widget.get_password())
provider_domain = self._login_widget.get_selected_provider()