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, Option), 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), }) }