1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-07 04:03:29 +00:00

Fix linux

This commit is contained in:
Bernd Schoolmann
2025-08-28 13:38:32 +02:00
parent 434281fea9
commit 93a5020a63

View File

@@ -97,4 +97,10 @@ impl super::BiometricTrait for BiometricLockSystem {
async fn has_persistent(&self, _user_id: &str) -> Result<bool> {
return Ok(false);
}
async fn unenroll(&self, user_id: &str) -> Result<(), anyhow::Error> {
let mut secure_memory = self.secure_memory.lock().await;
secure_memory.remove(user_id);
Ok(())
}
}