From b27e6e30c9687d41e5596be73346ce0ed626068d Mon Sep 17 00:00:00 2001 From: Mathijs van Veluw Date: Wed, 17 Jul 2024 16:20:54 +0200 Subject: [PATCH] Fix Email 2FA login on native app (#4762) --- src/api/core/two_factor/email.rs | 3 +++ 1 file changed, 3 insertions(+) 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, }