mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-23 11:56:00 +01:00
Restrict WebAuthn to Windows only for Electron (#322)
This commit is contained in:
parent
08a856645b
commit
ba742f72d8
@ -130,8 +130,10 @@ export class ElectronPlatformUtilsService implements PlatformUtilsService {
|
||||
return remote.app.getVersion();
|
||||
}
|
||||
|
||||
// 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 true;
|
||||
return process.platform === 'win32';
|
||||
}
|
||||
|
||||
supportsDuo(): boolean {
|
||||
|
Loading…
Reference in New Issue
Block a user