summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/gui/mainwindow.py
diff options
context:
space:
mode:
authorIvan Alejandro <ivanalejandro0@gmail.com>2014-04-23 16:08:02 -0300
committerIvan Alejandro <ivanalejandro0@gmail.com>2014-04-23 16:15:49 -0300
commit48406e9fb4a789eb6b4f14b626332e89b53d7312 (patch)
treed806f647d6f0c438592d1213e5680911d3e7db08 /src/leap/bitmask/gui/mainwindow.py
parentf783150bd4afdb739c827a7bb2676ed6db6ba34e (diff)
Get password change working again. Closes #5540.
- get the username from the login widget instead of the now not available srp_auth. - use lambda instead of partial to parametrize the error messages.
Diffstat (limited to 'src/leap/bitmask/gui/mainwindow.py')
-rw-r--r--src/leap/bitmask/gui/mainwindow.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/leap/bitmask/gui/mainwindow.py b/src/leap/bitmask/gui/mainwindow.py
index e4443434..3a94a58d 100644
--- a/src/leap/bitmask/gui/mainwindow.py
+++ b/src/leap/bitmask/gui/mainwindow.py
@@ -585,9 +585,11 @@ class MainWindow(QtGui.QMainWindow):
Displays the preferences window.
"""
+ user = self._login_widget.get_user()
+ prov = self._login_widget.get_selected_provider()
preferences = PreferencesWindow(
self, self._backend, self._provider_config, self._soledad,
- self._login_widget.get_selected_provider())
+ user, prov)
self.soledad_ready.connect(preferences.set_soledad_ready)
preferences.show()