diff options
author | Devaev Maxim <[email protected]> | 2019-04-09 07:13:13 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2019-04-09 07:13:13 +0300 |
commit | a6028c46a46fc06c8865679b8c922bfcd2852ab0 (patch) | |
tree | 106fde0b0f96f2ec3d27f6172c514791c619d306 /kvmd/validators | |
parent | 0460c2e83be9837fab01b116402d54c6b32ee4e4 (diff) |
auth plugins
Diffstat (limited to 'kvmd/validators')
-rw-r--r-- | kvmd/validators/auth.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/kvmd/validators/auth.py b/kvmd/validators/auth.py index b4b53928..7e110162 100644 --- a/kvmd/validators/auth.py +++ b/kvmd/validators/auth.py @@ -22,7 +22,6 @@ from typing import Any -from . import check_string_in_list from . import check_re_match @@ -37,7 +36,3 @@ def valid_passwd(arg: Any) -> str: def valid_auth_token(arg: Any) -> str: return check_re_match(arg, "auth token", r"^[0-9a-f]{64}$", hide=True) - - -def valid_auth_type(arg: Any) -> str: - return check_string_in_list(arg, "auth type", ["htpasswd"]) |