Merge pull request #11 from mprasil/save_name

Save the name when updating the cipher data
This commit is contained in:
Daniel García 2018-04-27 16:35:21 +02:00 committed by GitHub
commit 0037f0819b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -188,6 +188,7 @@ fn update_cipher_from_data(cipher: &mut Cipher, data: CipherData, headers: &Head
// Copy the type data and change the names to the correct case
copy_values(&type_data, &mut values);
cipher.name = data.name;
cipher.data = values.to_string();