tfa: fix warning with types feature w/o api feature

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller 2023-04-21 11:10:27 +02:00
parent 5c39559cad
commit 3224f42ff5

View File

@ -112,6 +112,7 @@ pub struct TfaUpdateInfo {
pub recovery: Vec<String>,
}
#[cfg(feature = "api")]
impl TfaUpdateInfo {
pub(crate) fn with_id(id: String) -> Self {
Self {