summaryrefslogtreecommitdiff
path: root/kvmd/plugins/auth/htpasswd.py
diff options
context:
space:
mode:
Diffstat (limited to 'kvmd/plugins/auth/htpasswd.py')
-rw-r--r--kvmd/plugins/auth/htpasswd.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/kvmd/plugins/auth/htpasswd.py b/kvmd/plugins/auth/htpasswd.py
index 3e7e52d9..46576727 100644
--- a/kvmd/plugins/auth/htpasswd.py
+++ b/kvmd/plugins/auth/htpasswd.py
@@ -33,13 +33,11 @@ from . import BaseAuthService
# =====
class Plugin(BaseAuthService):
- PLUGIN_NAME = "htpasswd"
-
def __init__(self, path: str) -> None: # pylint: disable=super-init-not-called
self.__path = path
@classmethod
- def get_options(cls) -> Dict[str, Option]:
+ def get_plugin_options(cls) -> Dict[str, Option]:
return {
"file": Option("/etc/kvmd/htpasswd", type=valid_abs_path_exists, unpack_as="path"),
}