diff --git a/apps/desktop/desktop_native/windows_plugin_authenticator/src/com_provider.rs b/apps/desktop/desktop_native/windows_plugin_authenticator/src/com_provider.rs index 107ad394f75..5680b3042e1 100644 --- a/apps/desktop/desktop_native/windows_plugin_authenticator/src/com_provider.rs +++ b/apps/desktop/desktop_native/windows_plugin_authenticator/src/com_provider.rs @@ -352,8 +352,7 @@ impl EXPERIMENTAL_IPluginAuthenticator_Impl for PluginAuthenticatorComObject_Imp } => { util::message("Creating WebAuthn make credential response"); - match create_make_credential_response(credential_id, attestation_object) - { + match create_make_credential_response(attestation_object) { Ok(webauthn_response) => { util::message("Successfully created WebAuthn response"); *response = webauthn_response; diff --git a/apps/desktop/desktop_native/windows_plugin_authenticator/src/make_credential.rs b/apps/desktop/desktop_native/windows_plugin_authenticator/src/make_credential.rs index 36a3e5baa12..8f89717a0b6 100644 --- a/apps/desktop/desktop_native/windows_plugin_authenticator/src/make_credential.rs +++ b/apps/desktop/desktop_native/windows_plugin_authenticator/src/make_credential.rs @@ -196,7 +196,7 @@ pub fn send_registration_request( user_name: request.user_name.clone(), client_data_hash: request.client_data_hash.clone(), user_verification: request.user_verification.clone(), - window_xy: Position { x: 400, y: 400 }, + window_xy: Position { x: 400, y: 400 }, // TODO: Get actual window position supported_algorithms: request.supported_algorithms.clone(), excluded_credentials: request.excluded_credentials.clone(), }; @@ -218,7 +218,6 @@ pub fn send_registration_request( /// Creates a WebAuthn make credential response from Bitwarden's registration response pub unsafe fn create_make_credential_response( - credential_id: Vec, attestation_object: Vec, ) -> std::result::Result<*mut ExperimentalWebAuthnPluginOperationResponse, HRESULT> { // Use the attestation object directly as the encoded response