mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-08-03 09:39:10 +00:00
Merge branch 'fix-attachment-sharing' of https://github.com/jjlin/vaultwarden into jjlin-fix-attachment-sharing
This commit is contained in:
commit
41add45e67
2 changed files with 0 additions and 16 deletions
|
@ -687,12 +687,6 @@ fn put_cipher_share_selected(
|
|||
};
|
||||
}
|
||||
|
||||
let attachments = Attachment::find_by_ciphers(cipher_ids, &conn);
|
||||
|
||||
if !attachments.is_empty() {
|
||||
err!("Ciphers should not have any attachments.")
|
||||
}
|
||||
|
||||
while let Some(cipher) = data.Ciphers.pop() {
|
||||
let mut shared_cipher_data = ShareCipherData {
|
||||
Cipher: cipher,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue