mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 00:51:53 +08:00
TOTP implementation
This commit is contained in:
@@ -365,6 +365,12 @@ def _get_config_scheme() -> dict:
|
||||
"type": Option("", type=valid_stripped_string),
|
||||
# Dynamic content
|
||||
},
|
||||
|
||||
"totp": {
|
||||
"secret": {
|
||||
"file": Option("/etc/kvmd/totp.secret", type=valid_abs_path, if_empty=""),
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
"info": { # Accessed via global config, see kvmd/info for details
|
||||
|
||||
Reference in New Issue
Block a user