Spiegel von
https://github.com/dani-garcia/vaultwarden.git
synchronisiert 2024-11-26 05:50:29 +01:00
Improve org mismatch check, consider different orgs
Dieser Commit ist enthalten in:
Ursprung
484bf5b703
Commit
432be274ba
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
|
@ -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")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Laden …
In neuem Issue referenzieren