geforkt von mirrored/vaultwarden
Fix sharing the item to organization.
Dieser Commit ist enthalten in:
Ursprung
9bf13b7872
Commit
71a10e0378
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
|
@ -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")
|
||||
}
|
||||
|
||||
|
|
Laden …
In neuem Issue referenzieren