diff --git a/proxmox-login/src/tfa.rs b/proxmox-login/src/tfa.rs index 90215573..9f405892 100644 --- a/proxmox-login/src/tfa.rs +++ b/proxmox-login/src/tfa.rs @@ -39,7 +39,7 @@ fn bool_is_false(b: &bool) -> bool { /// /// This contains the available key indices. #[derive(Clone, Debug, Default, Eq, PartialEq, Deserialize, Serialize)] -pub struct RecoveryState(Vec); +pub struct RecoveryState(pub Vec); impl RecoveryState { pub fn is_available(&self) -> bool {