mirror of
https://github.com/Pardus-LiderAhenk/ahenk
synced 2024-11-26 00:02:19 +03:00
unregister
This commit is contained in:
parent
6a78ca3fd8
commit
d51bee1bda
2 changed files with 2 additions and 1 deletions
|
@ -474,6 +474,7 @@ class Registration:
|
||||||
|
|
||||||
config.set('CONNECTION', 'uid', '')
|
config.set('CONNECTION', 'uid', '')
|
||||||
config.set('CONNECTION', 'password', '')
|
config.set('CONNECTION', 'password', '')
|
||||||
|
config.set('MACHINE', 'user_disabled', '0')
|
||||||
|
|
||||||
with open(System.Ahenk.config_path(), 'w') as file:
|
with open(System.Ahenk.config_path(), 'w') as file:
|
||||||
config.write(file)
|
config.write(file)
|
||||||
|
|
Loading…
Reference in a new issue