mirror of
https://github.com/bitwarden/browser
synced 2026-02-09 21:20:27 +00:00
Fix default warn
This commit is contained in:
@@ -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?;
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user