chore: code cleanup

This commit is contained in:
HorizonCode 2025-07-16 22:01:41 +02:00
parent eddaaaaa2f
commit 9d2599dd2f

View File

@ -726,10 +726,7 @@ pub fn encrypt_string(string: String, entropy: String) -> String {
let encrypted = encrypt_password(&string, &entropy);
match encrypted {
Ok(encrypted_vec) => {
// encrypted_vec is already a String, not Vec<u8>
encrypted_vec
}
Ok(encrypted_vec) => encrypted_vec,
Err(_) => string,
}
}