summaryrefslogtreecommitdiff
path: root/kvmd/apps/htpasswd/__init__.py
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2019-09-14 06:07:36 +0300
committerDevaev Maxim <[email protected]>2019-09-14 06:07:36 +0300
commite8f0b361e3316fa61b8f052b6878d8fb16b9f0ca (patch)
treef9e223aae0338e93ff1b4de233a1826f391e5b75 /kvmd/apps/htpasswd/__init__.py
parenta2f91fb741f59e18db68278669faa075cdd9a98a (diff)
crutch for plugins configuring
Diffstat (limited to 'kvmd/apps/htpasswd/__init__.py')
-rw-r--r--kvmd/apps/htpasswd/__init__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/kvmd/apps/htpasswd/__init__.py b/kvmd/apps/htpasswd/__init__.py
index 385de75c..aa42b429 100644
--- a/kvmd/apps/htpasswd/__init__.py
+++ b/kvmd/apps/htpasswd/__init__.py
@@ -101,8 +101,9 @@ def _cmd_delete(config: Section, options: argparse.Namespace) -> None:
def main(argv: Optional[List[str]]=None) -> None:
(parent_parser, argv, config) = init(
add_help=False,
- sections=["logging", "kvmd"],
argv=argv,
+ sections=["logging", "kvmd"],
+ with_auth=True,
)
parser = argparse.ArgumentParser(
prog="kvmd-htpasswd",