feat: Working passkeys storage (#4025)

This commit is contained in:
GeekCorner
2023-11-04 03:08:45 +01:00
committed by GitHub
parent 915496c103
commit 93da5091e6
3 changed files with 4 additions and 9 deletions

View File

@@ -29,8 +29,7 @@ db_object! {
Login = 1,
SecureNote = 2,
Card = 3,
Identity = 4,
Fido2key = 5
Identity = 4
*/
pub atype: i32,
pub name: String,
@@ -229,7 +228,6 @@ impl Cipher {
"SecureNote": null,
"Card": null,
"Identity": null,
"Fido2Key": null,
});
// These values are only needed for user/default syncs
@@ -258,7 +256,6 @@ impl Cipher {
2 => "SecureNote",
3 => "Card",
4 => "Identity",
5 => "Fido2Key",
_ => panic!("Wrong type"),
};