1
0
Fork 0
mirror of https://github.com/dani-garcia/vaultwarden.git synced 2025-06-18 01:10:09 +00:00

Fixed case problems, hopefully this time for real

This commit is contained in:
Daniel García 2018-06-12 23:01:14 +02:00
parent 538dc00234
commit 410ee9f1f7
3 changed files with 76 additions and 16 deletions

View file

@ -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>,