mirror of
https://git.proxmox.com/git/proxmox
synced 2025-05-16 09:42:02 +00:00
make u2f registration challenge Deserialize
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
a6f8f84632
commit
ad8fc652f6
@ -78,7 +78,7 @@ struct ClientData {
|
||||
/// A registration challenge to be sent to the `u2f.register` function in the browser.
|
||||
///
|
||||
/// Part of the U2F API, therefore `camelCase`.
|
||||
#[derive(Clone, Debug, Serialize)]
|
||||
#[derive(Clone, Debug, Deserialize, Serialize)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
pub struct RegistrationChallenge {
|
||||
pub challenge: String,
|
||||
|
Loading…
Reference in New Issue
Block a user