mirror of
https://git.proxmox.com/git/proxmox
synced 2025-06-15 15:17:31 +00:00
tfa: reduce default lockout time to an hour
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
adb868ee08
commit
abd2558b01
@ -65,7 +65,7 @@ pub trait OpenUserChallengeData {
|
|||||||
|
|
||||||
/// This allows overriding the time users are locked out when reaching the tfa failure limit.
|
/// This allows overriding the time users are locked out when reaching the tfa failure limit.
|
||||||
fn tfa_failure_lock_time(&self) -> i64 {
|
fn tfa_failure_lock_time(&self) -> i64 {
|
||||||
3600 * 12
|
3600
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Since PVE needs cluster-wide package upgrades for new entries in [`TfaUserData`], TOTP code
|
/// Since PVE needs cluster-wide package upgrades for new entries in [`TfaUserData`], TOTP code
|
||||||
|
Loading…
Reference in New Issue
Block a user