diff --git a/proxmox-tfa/src/api/methods.rs b/proxmox-tfa/src/api/methods.rs index 17715b87..e7461290 100644 --- a/proxmox-tfa/src/api/methods.rs +++ b/proxmox-tfa/src/api/methods.rs @@ -456,7 +456,7 @@ pub fn update_tfa_entry( description: Option, enable: Option, ) -> Result<(), EntryNotFound> { - let mut entry = config + let entry = config .users .get_mut(userid) .and_then(|user| user.find_entry_mut(id))