summaryrefslogtreecommitdiff
path: root/kvmd/apps/__init__.py
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2025-01-15 02:49:10 +0200
committerMaxim Devaev <[email protected]>2025-01-15 02:49:10 +0200
commitda4da975ef54dac6c17699e2d1e4addefbec6d73 (patch)
tree3c8e599573336748073283bfc378930fbbc8af4c /kvmd/apps/__init__.py
parentb6c73aceb74cf6f3a376fc1223e9cc701a8f6ee5 (diff)
Revert "pikvm/pikvm#1459: TOTP valid_window=5"
This reverts commit b6c73aceb74cf6f3a376fc1223e9cc701a8f6ee5.
Diffstat (limited to 'kvmd/apps/__init__.py')
-rw-r--r--kvmd/apps/__init__.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/kvmd/apps/__init__.py b/kvmd/apps/__init__.py
index 845da35a..091319ca 100644
--- a/kvmd/apps/__init__.py
+++ b/kvmd/apps/__init__.py
@@ -370,7 +370,6 @@ def _get_config_scheme() -> dict:
},
"totp": {
- "valid_window": Option(1, type=functools.partial(valid_number, min=0, max=5)),
"secret": {
"file": Option("/etc/kvmd/totp.secret", type=valid_abs_path, if_empty=""),
},