1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 16:23:44 +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.setBiometricText("unlockWithTouchId");
await this.stateService.setNoAutoPromptBiometricsText("autoPromptTouchId"); await this.stateService.setNoAutoPromptBiometricsText("autoPromptTouchId");
// eslint-disable-next-line ipcMain.handle("biometric", async () => {
ipcMain.on("biometric", async (event: any, message: any) => { return await this.authenticateBiometric();
event.returnValue = await this.authenticateBiometric();
}); });
} }