mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-12-09 12:12:34 +02:00
Android want response property in camelCase (#6513)
Co-authored-by: Timshel <timshel@480s>
This commit is contained in:
@@ -405,8 +405,8 @@ async fn post_set_password(data: Json<SetPasswordData>, headers: Headers, conn:
|
|||||||
user.save(&conn).await?;
|
user.save(&conn).await?;
|
||||||
|
|
||||||
Ok(Json(json!({
|
Ok(Json(json!({
|
||||||
"Object": "set-password",
|
"object": "set-password",
|
||||||
"CaptchaBypassToken": "",
|
"captchaBypassToken": "",
|
||||||
})))
|
})))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -370,9 +370,9 @@ async fn get_auto_enroll_status(identifier: &str, headers: Headers, conn: DbConn
|
|||||||
};
|
};
|
||||||
|
|
||||||
Ok(Json(json!({
|
Ok(Json(json!({
|
||||||
"Id": id,
|
"id": id,
|
||||||
"Identifier": identifier,
|
"identifier": identifier,
|
||||||
"ResetPasswordEnabled": rp_auto_enroll,
|
"resetPasswordEnabled": rp_auto_enroll,
|
||||||
})))
|
})))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user