1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-15 07:43:35 +00:00

[SG-646] [SG-647] Fix mac biometrics not working (#3436)

This commit is contained in:
Oscar Hinton
2022-09-02 14:57:00 +02:00
committed by GitHub
parent 39700b5db3
commit ef50055e32

View File

@@ -13,9 +13,8 @@ export default class BiometricDarwinMain implements BiometricMain {
await this.stateService.setBiometricText("unlockWithTouchId");
await this.stateService.setNoAutoPromptBiometricsText("autoPromptTouchId");
// eslint-disable-next-line
ipcMain.on("biometric", async (event: any, message: any) => {
event.returnValue = await this.authenticateBiometric();
ipcMain.handle("biometric", async () => {
return await this.authenticateBiometric();
});
}