read password from account config window using get_password, not from config
This commit is contained in:
parent
20dc155f65
commit
1d8dab4b22
|
@ -1206,8 +1206,7 @@ class AccountModificationWindow:
|
|||
self.xml.get_widget('save_password_checkbutton').set_active(
|
||||
gajim.config.get_per('accounts', self.account, 'savepass'))
|
||||
if gajim.config.get_per('accounts', self.account, 'savepass'):
|
||||
passstr = gajim.config.get_per('accounts',
|
||||
self.account, 'password')
|
||||
passstr = passwords.get_password(self.account)
|
||||
password_entry = self.xml.get_widget('password_entry')
|
||||
password_entry.set_sensitive(True)
|
||||
password_entry.set_text(passstr)
|
||||
|
|
Loading…
Reference in New Issue