Update click_cmdb.py

add-user remove --is_admin
This commit is contained in:
lovvvve 2023-07-13 15:49:35 +08:00 committed by GitHub
parent 5223790a5c
commit 48da958d8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -174,7 +174,7 @@ def add_user(user, password, mail):
assert user is not None assert user is not None
assert password is not None assert password is not None
assert mail is not None assert mail is not None
UserCRUD.add(username=user, password=password, email=mail, is_admin=is_admin) UserCRUD.add(username=user, password=password, email=mail)
@click.command() @click.command()