Skip to content

Commit

Permalink
Add support for fido2 2fa on mac
Browse files Browse the repository at this point in the history
  • Loading branch information
quexten committed Jan 13, 2025
1 parent c1e3836 commit 22cc9f4
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,9 @@ export class ElectronPlatformUtilsService implements PlatformUtilsService {
// Temporarily restricted to only Windows until https://github.com/electron/electron/pull/28349
// has been merged and an updated electron build is available.
supportsWebAuthn(win: Window): boolean {
return this.getDevice() === DeviceType.WindowsDesktop;
return (

Check warning on line 83 in apps/desktop/src/platform/services/electron-platform-utils.service.ts

View check run for this annotation

Codecov / codecov/patch

apps/desktop/src/platform/services/electron-platform-utils.service.ts#L83

Added line #L83 was not covered by tests
this.getDevice() === DeviceType.WindowsDesktop || this.getDevice() === DeviceType.MacOsDesktop
);
}

supportsDuo(): boolean {
Expand Down

0 comments on commit 22cc9f4

Please sign in to comment.