0
0
Fork 0
mirror of https://github.com/dani-garcia/vaultwarden synced 2024-06-01 19:48:55 +02:00

Merge branch 'Misterbabou-issue-3249'

This commit is contained in:
Daniel García 2023-02-21 21:29:13 +01:00
commit e7d36de784
No known key found for this signature in database
GPG key ID: FC8A7D14C3CD543A

View file

@ -64,6 +64,8 @@ impl Collection {
Some(_) => {
if let Some(uc) = cipher_sync_data.user_collections.get(&self.uuid) {
(uc.read_only, uc.hide_passwords)
} else if let Some(cg) = cipher_sync_data.user_collections_groups.get(&self.uuid) {
(cg.read_only, cg.hide_passwords)
} else {
(false, false)
}