Fix Edit user
This commit is contained in:
@ -167,12 +167,13 @@ def edit_user(username: str, new_username: str, new_traffic_limit: int, new_expi
|
||||
str(new_expiration_days) if new_expiration_days is not None else '',
|
||||
password,
|
||||
creation_date,
|
||||
str(blocked).lower() if blocked is not None else 'false'
|
||||
'true' if blocked else 'false'
|
||||
]
|
||||
|
||||
run_cmd(command_args)
|
||||
|
||||
|
||||
|
||||
@ cli.command('remove-user')
|
||||
@ click.option('--username', '-u', required=True, help='Username for the user to remove', type=str)
|
||||
def remove_user(username: str):
|
||||
|
||||
Reference in New Issue
Block a user