mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-07-31 16:19:10 +00:00
Fix Email 2FA login on native app
The new native android app still seems to send PascalCase entries for Email 2FA. Added aliasses for these keys. Tested all other 2FA's (Except Duo, which might be fixable via #4637) and they all work fine using the Native Android Beta v2024.7.0 version. Fixes #4713
This commit is contained in:
parent
505b30eec2
commit
b7ddfb433e
1 changed files with 3 additions and 0 deletions
|
@ -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,
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue