Generate account label correctly

This commit is contained in:
Philipp Hörist 2019-03-16 15:33:58 +01:00
parent d159a7a1e2
commit bb4daa2945
1 changed files with 1 additions and 0 deletions

View File

@ -564,6 +564,7 @@ class AccountCreationWizard:
def create_vars(self, config):
app.config.add_per('accounts', self.account)
config['account_label'] = '%s@%s' % (config['name'], config['hostname'])
if not config['savepass']:
config['password'] = ''