Browse Source

Fix Email 2FA login on native app (#4762)

pull/4763/head
Mathijs van Veluw 6 months ago
committed by GitHub
parent
commit
b27e6e30c9
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 3
      src/api/core/two_factor/email.rs

3
src/api/core/two_factor/email.rs

@ -24,7 +24,10 @@ pub fn routes() -> Vec<Route> {
#[derive(Deserialize)] #[derive(Deserialize)]
#[serde(rename_all = "camelCase")] #[serde(rename_all = "camelCase")]
struct SendEmailLoginData { struct SendEmailLoginData {
// DeviceIdentifier: String, // Currently not used
#[serde(alias = "Email")]
email: String, email: String,
#[serde(alias = "MasterPasswordHash")]
master_password_hash: String, master_password_hash: String,
} }

Loading…
Cancel
Save