mirror of
https://github.com/dani-garcia/vaultwarden
synced 2024-12-14 01:23:55 +01:00
Merge pull request #343 from mprasil/share_fix
Fix sharing the item to organization.
This commit is contained in:
commit
20964ac2d8
1 changed files with 1 additions and 1 deletions
|
@ -221,7 +221,7 @@ pub fn update_cipher_from_data(
|
|||
nt: &Notify,
|
||||
ut: UpdateType,
|
||||
) -> EmptyResult {
|
||||
if cipher.organization_uuid != data.OrganizationId {
|
||||
if cipher.organization_uuid.is_some() && cipher.organization_uuid != data.OrganizationId {
|
||||
err!("Organization mismatch. Please resync the client before updating the cipher")
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue