mirror of
https://github.com/bitwarden/browser
synced 2025-12-20 10:13:31 +00:00
[PM-18884] Enable fido2 2FA on Linux (#13038)
* Add support for fido2 2fa on mac * Update comment * Update 2fa setup message * Enable fido2 2FA on unsandboxed linux * Enable on snap and flatpak * Fix comment * Fix typo
This commit is contained in:
@@ -77,11 +77,9 @@ export class ElectronPlatformUtilsService implements PlatformUtilsService {
|
||||
return (await this.getApplicationVersion()).split(/[+|-]/)[0].trim();
|
||||
}
|
||||
|
||||
// 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.
|
||||
// Linux and Mac are missing a ui to enter a pin, so this works for two-factor security keys, when always-uv is not active
|
||||
supportsWebAuthn(win: Window): boolean {
|
||||
return (
|
||||
this.getDevice() === DeviceType.WindowsDesktop || this.getDevice() === DeviceType.MacOsDesktop
|
||||
);
|
||||
return true;
|
||||
}
|
||||
|
||||
supportsDuo(): boolean {
|
||||
|
||||
Reference in New Issue
Block a user