summaryrefslogtreecommitdiff
path: root/kvmd/apps/__init__.py
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2019-12-12 05:27:08 +0300
committerDevaev Maxim <[email protected]>2019-12-12 05:27:08 +0300
commitcda5b70e7ca596d6d6664357b5e156dbba8c9308 (patch)
treec88578188e39c259e5311b976b538a14062227a0 /kvmd/apps/__init__.py
parent03e05af39acb78d23e9e0b42eefd4b4f0184daeb (diff)
option to disable auth
Diffstat (limited to 'kvmd/apps/__init__.py')
-rw-r--r--kvmd/apps/__init__.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/kvmd/apps/__init__.py b/kvmd/apps/__init__.py
index d06e09a3..c3b3a5f2 100644
--- a/kvmd/apps/__init__.py
+++ b/kvmd/apps/__init__.py
@@ -198,6 +198,8 @@ def _get_config_scheme() -> Dict:
},
"auth": {
+ "disabled": Option(False, type=valid_bool),
+
"internal": {
"type": Option("htpasswd"),
"force_users": Option([], type=valid_users_list),
@@ -206,6 +208,7 @@ def _get_config_scheme() -> Dict:
"external": {
"type": Option("", type=valid_stripped_string),
+ # Dynamic content
},
},