Fix password storage in plain text issue

This commit is contained in:
André Apitzsch 2018-03-28 22:52:06 +02:00 committed by Philipp Hörist
parent dc3565ee32
commit 672aae9c12
1 changed files with 1 additions and 1 deletions

View File

@ -686,7 +686,7 @@ class LoginDialog(OptionsDialog):
self.connect('destroy', self.on_destroy)
def on_password_change(self, new_password, data):
self.get_option('password').entry.set_text(new_password)
passwords.save_password(self.account, new_password)
def on_destroy(self, *args):
savepass = app.config.get_per('accounts', self.account, 'savepass')