diff --git a/src/api/core/ciphers.rs b/src/api/core/ciphers.rs index 2dcbef50..1168a0f7 100644 --- a/src/api/core/ciphers.rs +++ b/src/api/core/ciphers.rs @@ -221,7 +221,7 @@ pub fn update_cipher_from_data( nt: &Notify, ut: UpdateType, ) -> EmptyResult { - if cipher.organization_uuid.is_some() && data.OrganizationId.is_none() { + if cipher.organization_uuid != data.OrganizationId { err!("Organization mismatch. Please resync the client before updating the cipher") }