diff --git a/apps/desktop/src/platform/services/electron-platform-utils.service.ts b/apps/desktop/src/platform/services/electron-platform-utils.service.ts
index b61d2a0c5e9..e86d44f71f2 100644
--- a/apps/desktop/src/platform/services/electron-platform-utils.service.ts
+++ b/apps/desktop/src/platform/services/electron-platform-utils.service.ts
@@ -77,10 +77,11 @@ export class ElectronPlatformUtilsService implements PlatformUtilsService {
return (await this.getApplicationVersion()).split(/[+|-]/)[0].trim();
}
- // Temporarily restricted to only Windows until https://github.com/electron/electron/pull/28349
- // has been merged and an updated electron build is available.
+ // Restricted to Windows and Mac. Mac is missing support for pin entry, and Linux is missing support entirely and has to be implemented in another way.
supportsWebAuthn(win: Window): boolean {
- return this.getDevice() === DeviceType.WindowsDesktop;
+ return (
+ this.getDevice() === DeviceType.WindowsDesktop || this.getDevice() === DeviceType.MacOsDesktop
+ );
}
supportsDuo(): boolean {
diff --git a/apps/web/src/app/auth/settings/two-factor/two-factor-setup-webauthn.component.html b/apps/web/src/app/auth/settings/two-factor/two-factor-setup-webauthn.component.html
index 0a2eb346b1b..c9e2e111481 100644
--- a/apps/web/src/app/auth/settings/two-factor/two-factor-setup-webauthn.component.html
+++ b/apps/web/src/app/auth/settings/two-factor/two-factor-setup-webauthn.component.html
@@ -14,10 +14,7 @@
{{ "twoStepLoginProviderEnabled" | i18n }}
{{ "twoFactorWebAuthnWarning" | i18n }} {{ "twoFactorWebAuthnWarning1" | i18n }}
-
+