Signed-off-by: Lukas Wagner <l.wag...@proxmox.com>
---
 pmg-rs/src/tfa.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pmg-rs/src/tfa.rs b/pmg-rs/src/tfa.rs
index af69721..4e9ce8f 100644
--- a/pmg-rs/src/tfa.rs
+++ b/pmg-rs/src/tfa.rs
@@ -178,7 +178,7 @@ mod export {
         #[try_from_ref] this: &Tfa,
     ) -> Result<(Option<String>, Option<super::WebauthnConfig>), Error> {
         Ok(match this.inner.lock().unwrap().webauthn.clone() {
-            Some(config) => (Some(hex::encode(config.digest())), 
Some(config.into())),
+            Some(config) => (Some(hex::encode(config.digest())), Some(config)),
             None => (None, None),
         })
     }
-- 
2.39.2



_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to