|
|
@ -118,8 +118,8 @@ def config_update(verbose=False, delete_objects=False):
|
|
|
|
print(str(user_config))
|
|
|
|
print(str(user_config))
|
|
|
|
localpart=user_config['localpart']
|
|
|
|
localpart=user_config['localpart']
|
|
|
|
domain_name=user_config['domain']
|
|
|
|
domain_name=user_config['domain']
|
|
|
|
password_hash=user_config['password_hash']
|
|
|
|
password_hash=user_config.get('password_hash',None)
|
|
|
|
hash_scheme=user_config['hash_scheme']
|
|
|
|
hash_scheme=user_config.get('hash_scheme',None)
|
|
|
|
domain = models.Domain.query.get(domain_name)
|
|
|
|
domain = models.Domain.query.get(domain_name)
|
|
|
|
email='{0}@{1}'.format(localpart,domain_name)
|
|
|
|
email='{0}@{1}'.format(localpart,domain_name)
|
|
|
|
if not domain:
|
|
|
|
if not domain:
|
|
|
|