unregister

This commit is contained in:
edip 2018-11-19 21:40:04 +03:00
parent 6a78ca3fd8
commit d51bee1bda
2 changed files with 2 additions and 1 deletions

View file

@ -474,6 +474,7 @@ class Registration:
config.set('CONNECTION', 'uid', '')
config.set('CONNECTION', 'password', '')
config.set('MACHINE', 'user_disabled', '0')
with open(System.Ahenk.config_path(), 'w') as file:
config.write(file)