diff options
author | Devaev Maxim <[email protected]> | 2019-09-11 19:11:19 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2019-09-11 19:11:19 +0300 |
commit | 2535892723e275a3e31aa318edc788869c643fd0 (patch) | |
tree | c51277d4ef558cc010622cfa8c4e4c06777a8ed1 /kvmd/apps/htpasswd | |
parent | e17889ba426a167804796a830043e59e1941972f (diff) |
changed config hierarchy
Diffstat (limited to 'kvmd/apps/htpasswd')
-rw-r--r-- | kvmd/apps/htpasswd/__init__.py | 4 |
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 |