Browse Source

Fix sharing the item to organization.

pull/343/head
Miroslav Prasil 6 years ago
parent
commit
71a10e0378
  1. 2
      src/api/core/ciphers.rs

2
src/api/core/ciphers.rs

@ -221,7 +221,7 @@ pub fn update_cipher_from_data(
nt: &Notify, nt: &Notify,
ut: UpdateType, ut: UpdateType,
) -> EmptyResult { ) -> 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") err!("Organization mismatch. Please resync the client before updating the cipher")
} }

Loading…
Cancel
Save