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 the type data and change the names to the correct case
copy_values(&type_data, &mut values); copy_values(&type_data, &mut values);
cipher.name = data.name;
cipher.data = values.to_string(); cipher.data = values.to_string();