tfa: reduce default lockout time to an hour

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller 2023-06-01 15:10:53 +02:00
parent adb868ee08
commit abd2558b01

View File

@ -65,7 +65,7 @@ pub trait OpenUserChallengeData {
/// This allows overriding the time users are locked out when reaching the tfa failure limit.
fn tfa_failure_lock_time(&self) -> i64 {
3600 * 12
3600
}
/// Since PVE needs cluster-wide package upgrades for new entries in [`TfaUserData`], TOTP code