|
|
|
|
@ -1030,7 +1030,7 @@ public class CipherService : ICipherService
@@ -1030,7 +1030,7 @@ public class CipherService : ICipherService
|
|
|
|
|
var newCipherData = DeserializeCipherData(cipher); |
|
|
|
|
|
|
|
|
|
// For hidden-password users, never allow Key to change at all. |
|
|
|
|
cipher.Key = existingCipher.Key; ; |
|
|
|
|
cipher.Key = existingCipher.Key; |
|
|
|
|
// Keep only non-hidden fileds from the new cipher |
|
|
|
|
var nonHiddenFields = newCipherData.Fields?.Where(f => f.Type != FieldType.Hidden) ?? []; |
|
|
|
|
// Get hidden fields from the existing cipher |
|
|
|
|
|