tfa: remove unnecessary bound attribute

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller 2021-11-19 12:45:23 +01:00
parent 5ecc7724e2
commit c08d4a173d

View File

@ -293,7 +293,6 @@ pub type TfaUsers = HashMap<String, TfaUserData>;
#[derive(Clone, Default, Deserialize, Serialize)]
#[serde(deny_unknown_fields)]
#[serde(rename_all = "kebab-case")]
#[serde(bound(deserialize = "", serialize = ""))]
pub struct TfaUserData {
/// Totp keys for a user.
#[serde(skip_serializing_if = "Vec::is_empty", default)]