mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-11-07 04:42:59 -05:00
Fix sync with new native clients (#4932)
This commit is contained in:
committed by
GitHub
parent
66baa5e7d8
commit
dca14285fd
@@ -1596,7 +1596,7 @@ async fn post_org_import(
|
||||
// Bitwarden does not process the import if there is one item invalid.
|
||||
// Since we check for the size of the encrypted note length, we need to do that here to pre-validate it.
|
||||
// TODO: See if we can optimize the whole cipher adding/importing and prevent duplicate code and checks.
|
||||
Cipher::validate_notes(&data.ciphers)?;
|
||||
Cipher::validate_cipher_data(&data.ciphers)?;
|
||||
|
||||
let mut collections = Vec::new();
|
||||
for coll in data.collections {
|
||||
|
||||
Reference in New Issue
Block a user