1
0
mirror of https://github.com/dani-garcia/vaultwarden.git synced 2024-11-09 20:42:36 +01:00

Save the name when updating the cipher data

This commit is contained in:
Miroslav Prasil 2018-04-27 15:27:06 +01:00
parent da47846f22
commit 787172116d

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();