1
0
Fork 0

Merge pull request #343 from mprasil/share_fix

Fix sharing the item to organization.
Dieser Commit ist enthalten in:
Daniel García 2019-01-16 12:58:58 +01:00 committet von GitHub
Commit 20964ac2d8
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 4AEE18F83AFDEB23

Datei anzeigen

@ -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")
}