Commit f8c68062 authored by Philipp Hörist's avatar Philipp Hörist
Browse files

Interface: Store password with correct backend

On account creation use the passwords module to store the password correctly
parent 73030407
......@@ -1521,7 +1521,6 @@ class Interface:
'%s@%s' % (username, domain))
config['hostname'] = domain
config['savepass'] = True
config['password'] = password
config['anonymous_auth'] = anonymous
config['autoconnect'] = True
config['sync_with_global_status'] = True
......@@ -1542,6 +1541,9 @@ class Interface:
for opt in config:
app.config.set_per('accounts', account, opt, config[opt])
# Password module depends on existing config
passwords.save_password(account, password)
app.css_config.refresh()
# refresh accounts window
# Action must be added before account window is updated
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment