vw_small

Hardened fork of Vaultwarden (https://github.com/dani-garcia/vaultwarden) with fewer features.
git clone https://git.philomathiclife.com/repos/vw_small
Log | Files | Refs | README

commit 1a5ecd4d4aaa3744b45d8e67c689335959f7cc1b
parent bd65c4e312219c3165b6aef92183bc84c082e9ef
Author: Miroslav Prasil <miroslav@prasil.info>
Date:   Tue,  5 Feb 2019 13:52:30 +0000

cipher does not need to be mutable

Diffstat:
Msrc/api/core/ciphers.rs | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/api/core/ciphers.rs b/src/api/core/ciphers.rs @@ -842,7 +842,7 @@ fn move_cipher_selected(data: JsonUpcase<MoveCipherData>, headers: Headers, conn } for uuid in data.Ids { - let mut cipher = match Cipher::find_by_uuid(&uuid, &conn) { + let cipher = match Cipher::find_by_uuid(&uuid, &conn) { Some(cipher) => cipher, None => err!("Cipher doesn't exist"), };