pikvm/pikvm#1459: TOTP valid_window=5

This commit is contained in:
Maxim Devaev
2025-01-15 00:46:29 +02:00
parent d3549ab52b
commit b6c73aceb7
4 changed files with 8 additions and 2 deletions

View File

@@ -69,6 +69,7 @@ async def _get_configured_manager(
external_type=("htpasswd" if external_path else ""),
external_kwargs=(_make_service_kwargs(external_path) if external_path else {}),
totp_valid_window=0,
totp_secret_path="",
)
@@ -200,6 +201,7 @@ async def test_ok__disabled() -> None:
external_type="",
external_kwargs={},
totp_valid_window=0,
totp_secret_path="",
)