disable tfa lockout for now

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller 2023-05-10 11:47:19 +02:00
parent edd0ea9729
commit 3b7b52dcf8

View File

@ -286,6 +286,11 @@ impl proxmox_tfa::api::OpenUserChallengeData for UserAccess {
Err(err) => Err(err.into()),
}
}
// TODO: enable once we have admin ui stuff to unlock locked-out users
fn enable_lockout(&self) -> bool {
false
}
}
impl proxmox_tfa::api::UserChallengeAccess for TfaUserChallengeData {