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

This commit is contained in:
Mathijs van Veluw 2024-07-17 16:20:54 +02:00 committed by GitHub
parent 505b30eec2
commit b27e6e30c9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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