1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-09 21:20:27 +00:00

Fix default warn

This commit is contained in:
Bernd Schoolmann
2025-08-28 13:57:28 +02:00
parent 07de448f83
commit 3a21730349
3 changed files with 18 additions and 0 deletions

View File

@@ -34,6 +34,12 @@ impl BiometricLockSystem {
}
}
impl Default for BiometricLockSystem {
fn default() -> Self {
Self::new()
}
}
impl super::BiometricTrait for BiometricLockSystem {
async fn authenticate(&self, _hwnd: Vec<u8>, _message: String) -> Result<bool> {
let connection = Connection::system().await?;

View File

@@ -6,6 +6,12 @@ impl BiometricLockSystem {
}
}
impl Default for BiometricLockSystem {
fn default() -> Self {
Self::new()
}
}
impl super::BiometricTrait for BiometricLockSystem {
async fn authenticate(&self, _hwnd: Vec<u8>, _message: String) -> Result<bool, anyhow::Error> {
Ok(false)

View File

@@ -78,6 +78,12 @@ impl BiometricLockSystem {
}
}
impl Default for BiometricLockSystem {
fn default() -> Self {
Self::new()
}
}
impl super::BiometricTrait for BiometricLockSystem {
async fn authenticate(&self, hwnd: Vec<u8>, message: String) -> Result<bool> {
windows_hello_authenticate(hwnd, message)