mirror of
https://github.com/bitwarden/browser
synced 2026-02-07 04:03:29 +00:00
Undo linux debugging changes
This commit is contained in:
@@ -92,9 +92,8 @@ export default class OsBiometricsServiceLinux implements OsBiometricService {
|
||||
}
|
||||
|
||||
async authenticateBiometric(): Promise<boolean> {
|
||||
//const hwnd = Buffer.from("");
|
||||
//return await biometrics.prompt(hwnd, "");
|
||||
return true;
|
||||
const hwnd = Buffer.from("");
|
||||
return await biometrics.prompt(hwnd, "");
|
||||
}
|
||||
|
||||
async supportsBiometrics(): Promise<boolean> {
|
||||
@@ -113,8 +112,7 @@ export default class OsBiometricsServiceLinux implements OsBiometricService {
|
||||
}
|
||||
|
||||
// check whether the polkit policy is loaded via dbus call to polkit
|
||||
//return !(await biometrics.available());
|
||||
return false;
|
||||
return !(await biometrics.available());
|
||||
}
|
||||
|
||||
async canAutoSetup(): Promise<boolean> {
|
||||
|
||||
Reference in New Issue
Block a user