mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-31 01:51:53 +08:00
pikvm/pikvm#1459: TOTP valid_window=5
This commit is contained in:
@@ -370,6 +370,7 @@ 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=""),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user