diff options
Diffstat (limited to 'kvmd/plugins/auth')
-rw-r--r-- | kvmd/plugins/auth/htpasswd.py | 2 | ||||
-rw-r--r-- | kvmd/plugins/auth/http.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/kvmd/plugins/auth/htpasswd.py b/kvmd/plugins/auth/htpasswd.py index 46576727..2f4e2df8 100644 --- a/kvmd/plugins/auth/htpasswd.py +++ b/kvmd/plugins/auth/htpasswd.py @@ -37,7 +37,7 @@ class Plugin(BaseAuthService): self.__path = path @classmethod - def get_plugin_options(cls) -> Dict[str, Option]: + def get_plugin_options(cls) -> Dict: return { "file": Option("/etc/kvmd/htpasswd", type=valid_abs_path_exists, unpack_as="path"), } diff --git a/kvmd/plugins/auth/http.py b/kvmd/plugins/auth/http.py index 69670b23..8f264531 100644 --- a/kvmd/plugins/auth/http.py +++ b/kvmd/plugins/auth/http.py @@ -60,7 +60,7 @@ class Plugin(BaseAuthService): self.__http_session: Optional[aiohttp.ClientSession] = None @classmethod - def get_plugin_options(cls) -> Dict[str, Option]: + def get_plugin_options(cls) -> Dict: return { "url": Option("http://localhost/auth"), "verify": Option(True, type=valid_bool), |