]> git.proxmox.com Git - proxmox-backup.git/blobdiff - src/api2/config/access/tfa.rs
router change made one level of rpcenv mut superfluous
[proxmox-backup.git] / src / api2 / config / access / tfa.rs
index cecf0c9ff6d23501d0b2f3ddc5321136d6d40479..6390524bb094c88ec770147b118bee102d6b80e2 100644 (file)
@@ -38,7 +38,7 @@ const WEBAUTHN_ROUTER: Router = Router::new()
 )]
 /// Get the TFA configuration.
 pub fn get_webauthn_config(
-    mut rpcenv: &mut dyn RpcEnvironment,
+    rpcenv: &mut dyn RpcEnvironment,
 ) -> Result<Option<WebauthnConfig>, Error> {
     let (config, digest) = match tfa::webauthn_config()? {
         Some(c) => c,