0
0
Fork 0
mirror of https://github.com/dani-garcia/vaultwarden synced 2024-11-15 06:22:28 +01:00

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)]
#[serde(rename_all = "camelCase")]
struct SendEmailLoginData {
// DeviceIdentifier: String, // Currently not used
#[serde(alias = "Email")]
email: String,
#[serde(alias = "MasterPasswordHash")]
master_password_hash: String,
}