Skip to content

Commit

Permalink
Fix Email 2FA login on native app (dani-garcia#4762)
Browse files Browse the repository at this point in the history
  • Loading branch information
BlackDex authored Jul 17, 2024
1 parent 505b30e commit b27e6e3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/api/core/two_factor/email.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@ pub fn routes() -> Vec<Route> {
#[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,
}

Expand Down

0 comments on commit b27e6e3

Please sign in to comment.