From 9de626c8440d35eed7dc5d543a5185f0dc3c8fca Mon Sep 17 00:00:00 2001 From: Hinton Date: Thu, 14 Mar 2024 10:59:58 +0100 Subject: [PATCH] Simplify --- crates/bitwarden/src/vault/cipher/login.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/bitwarden/src/vault/cipher/login.rs b/crates/bitwarden/src/vault/cipher/login.rs index 313abd144..5d00c41e1 100644 --- a/crates/bitwarden/src/vault/cipher/login.rs +++ b/crates/bitwarden/src/vault/cipher/login.rs @@ -129,7 +129,7 @@ impl KeyDecryptable for Login { uris: self.uris.decrypt_with_key(key).ok().flatten(), totp: self.totp.decrypt_with_key(key).ok().flatten(), autofill_on_page_load: self.autofill_on_page_load, - fido2_credentials: self.fido2_credentials.as_ref().map(|v| v.to_vec()), + fido2_credentials: self.fido2_credentials.clone(), }) } }