1
0
Fork 0

Improve org mismatch check, consider different orgs

Dieser Commit ist enthalten in:
Daniel García 2019-01-15 17:31:03 +01:00
Ursprung 484bf5b703
Commit 432be274ba
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: FC8A7D14C3CD543A

Datei anzeigen

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