diff --git a/src/api/core/two_factor/email.rs b/src/api/core/two_factor/email.rs index a4a69240..aea238e5 100644 --- a/src/api/core/two_factor/email.rs +++ b/src/api/core/two_factor/email.rs @@ -24,7 +24,10 @@ pub fn routes() -> Vec { #[derive(Deserialize)] #[serde(rename_all = "camelCase")] struct SendEmailLoginData { + // DeviceIdentifier: String, // Currently not used + #[serde(alias = "Email")] email: String, + #[serde(alias = "MasterPasswordHash")] master_password_hash: String, }