tfa: fix a compile warning

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller 2024-06-20 10:55:03 +02:00
parent 937d985489
commit 2e9526dcdd

View File

@ -456,7 +456,7 @@ pub fn update_tfa_entry(
description: Option<String>,
enable: Option<bool>,
) -> Result<(), EntryNotFound> {
let mut entry = config
let entry = config
.users
.get_mut(userid)
.and_then(|user| user.find_entry_mut(id))