summaryrefslogtreecommitdiff
path: root/kvmd/apps/htpasswd/__init__.py
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2019-09-11 19:11:19 +0300
committerDevaev Maxim <[email protected]>2019-09-11 19:11:19 +0300
commit2535892723e275a3e31aa318edc788869c643fd0 (patch)
treec51277d4ef558cc010622cfa8c4e4c06777a8ed1 /kvmd/apps/htpasswd/__init__.py
parente17889ba426a167804796a830043e59e1941972f (diff)
changed config hierarchy
Diffstat (limited to 'kvmd/apps/htpasswd/__init__.py')
-rw-r--r--kvmd/apps/htpasswd/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/kvmd/apps/htpasswd/__init__.py b/kvmd/apps/htpasswd/__init__.py
index 1a666d0f..385de75c 100644
--- a/kvmd/apps/htpasswd/__init__.py
+++ b/kvmd/apps/htpasswd/__init__.py
@@ -44,9 +44,9 @@ from .. import init
# =====
def _get_htpasswd_path(config: Section) -> str:
- if config.kvmd.auth.internal_type != "htpasswd":
+ if config.kvmd.auth.internal.type != "htpasswd":
raise SystemExit(f"Error: KVMD internal auth not using 'htpasswd'"
- f" (now configured {config.kvmd.auth.internal_type!r})")
+ f" (now configured {config.kvmd.auth.internal.type!r})")
return config.kvmd.auth.internal.file