diff options
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 |