proxmox-tfa: make u2f::AuthChallenge Clone + Debug

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller 2021-11-02 12:53:30 +01:00
parent 4128c5fdb5
commit 83934e59e6

View File

@ -104,7 +104,7 @@ pub struct RegistrationResponse {
/// include the registered keys.
///
/// Part of the U2F API, therefore `camelCase`.
#[derive(Deserialize, Serialize)]
#[derive(Clone, Debug, Deserialize, Serialize)]
#[serde(rename_all = "camelCase")]
pub struct AuthChallenge {
pub challenge: String,