mirror of
https://github.com/dani-garcia/vaultwarden.wiki.git
synced 2026-10-25 10:16:47 +02:00
Fix sync with new native clients (#4932)
This commit is contained in:
1 parent
66baa5e7d8
commit
dca14285fd
4 files changed
+58
-23
No files matched your search
@@ -490,7 +490,7 @@ async fn post_rotatekey(data: Json<KeyData>, headers: Headers, mut conn: DbConn,
|
||||
// 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 user_uuid = &headers.user.uuid;
|
||||
|
||||
|
||||
Reference in new issue
Block a user