diff options
Diffstat (limited to 'kvmd/apps/__init__.py')
-rw-r--r-- | kvmd/apps/__init__.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kvmd/apps/__init__.py b/kvmd/apps/__init__.py index d92d29ed..9a9a7593 100644 --- a/kvmd/apps/__init__.py +++ b/kvmd/apps/__init__.py @@ -138,9 +138,9 @@ def _get_config_scheme() -> Dict: }, "auth": { - "type": Option("basic", type=valid_auth_type, unpack_as="auth_type"), - "basic": { - "htpasswd": Option("/etc/kvmd/htpasswd", type=valid_abs_path_exists, unpack_as="htpasswd_path"), + "type": Option("htpasswd", type=valid_auth_type, unpack_as="auth_type"), + "htpasswd": { + "file": Option("/etc/kvmd/htpasswd", type=valid_abs_path_exists, unpack_as="path"), }, }, |