mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-06-12 13:17:43 +02:00
Fixed case problems, hopefully this time for real
This commit is contained in:
@ -6,8 +6,6 @@ use db::models::*;
|
||||
use api::{PasswordData, JsonResult, EmptyResult, JsonUpcase};
|
||||
use auth::Headers;
|
||||
|
||||
use util;
|
||||
|
||||
use CONFIG;
|
||||
|
||||
#[derive(Deserialize, Debug)]
|
||||
@ -15,7 +13,6 @@ use CONFIG;
|
||||
struct RegisterData {
|
||||
Email: String,
|
||||
Key: String,
|
||||
#[serde(deserialize_with = "util::upcase_deserialize")]
|
||||
Keys: Option<KeysData>,
|
||||
MasterPasswordHash: String,
|
||||
MasterPasswordHint: Option<String>,
|
||||
|
@ -363,7 +363,6 @@ fn post_collections_admin(uuid: String, data: JsonUpcase<CollectionsAdminData>,
|
||||
#[derive(Deserialize)]
|
||||
#[allow(non_snake_case)]
|
||||
struct ShareCipherData {
|
||||
#[serde(deserialize_with = "util::upcase_deserialize")]
|
||||
Cipher: CipherData,
|
||||
CollectionIds: Vec<String>,
|
||||
}
|
||||
|
Reference in New Issue
Block a user