mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 16:53:34 +00:00
[PM-16978] Add support for fido2 2fa on mac (#12823)
* Add support for fido2 2fa on mac * Update comment * Update 2fa setup message
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user