From b66ceaede01a185e35eab4637e1b28f3719cd477 Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Mon, 8 May 2023 10:26:09 +0200 Subject: [PATCH] proxmox-longin: allow access to RecoveryState keys (make it pub) Signed-off-by: Dietmar Maurer --- proxmox-login/src/tfa.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {