summaryrefslogtreecommitdiff
path: root/kvmd/apps/__init__.py
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2019-04-08 06:19:02 +0300
committerDevaev Maxim <[email protected]>2019-04-08 06:19:02 +0300
commitd8a5e3837152c7db21b96a585523481337247e6f (patch)
tree8e738ecda2c6d5c94df88d0f6c57ebb926dfc96f /kvmd/apps/__init__.py
parent9243d2a00c86aa9b5df2b1df20d2ba57be0bed47 (diff)
basic -> htpasswd
Diffstat (limited to 'kvmd/apps/__init__.py')
-rw-r--r--kvmd/apps/__init__.py6
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"),
},
},