mirror of https://gitlab.com/bashrc2/epicyon
Checking admin
parent
42768b598e
commit
9f5220a56b
|
@ -2882,11 +2882,10 @@ def _command_options() -> None:
|
||||||
argb.rmaccount = argb.deactivate
|
argb.rmaccount = argb.deactivate
|
||||||
|
|
||||||
if argb.rmaccount:
|
if argb.rmaccount:
|
||||||
|
admin_domain = get_config_param(base_dir, 'domain')
|
||||||
admin_nickname = get_config_param(base_dir, 'admin')
|
admin_nickname = get_config_param(base_dir, 'admin')
|
||||||
print('admin_nickname: ' + str(admin_nickname))
|
if admin_nickname and admin_domain:
|
||||||
print('argb.rmaccount: ' + str(argb.rmaccount))
|
if admin_nickname + '@' + admin_domain == argb.rmaccount:
|
||||||
if admin_nickname:
|
|
||||||
if admin_nickname == argb.rmaccount:
|
|
||||||
print(argb.rmaccount + ' is the admin account')
|
print(argb.rmaccount + ' is the admin account')
|
||||||
sys.exit()
|
sys.exit()
|
||||||
if '@' in argb.rmaccount:
|
if '@' in argb.rmaccount:
|
||||||
|
|
Loading…
Reference in New Issue