mirror of
https://github.com/bitwarden/browser
synced 2025-12-13 14:53:33 +00:00
Add support for browser biometrics on Firefox >= 87 (#1668)
This commit is contained in:
@@ -292,8 +292,9 @@ export default class BrowserPlatformUtilsService implements PlatformUtilsService
|
||||
});
|
||||
}
|
||||
|
||||
supportsBiometric() {
|
||||
return Promise.resolve(!this.isFirefox() && !this.isSafari());
|
||||
async supportsBiometric() {
|
||||
const isUnsuportedFirefox = this.isFirefox() && parseInt((await browser.runtime.getBrowserInfo()).version.split('.')[0], 10) < 87;
|
||||
return !isUnsuportedFirefox && !this.isSafari();
|
||||
}
|
||||
|
||||
authenticateBiometric() {
|
||||
|
||||
Reference in New Issue
Block a user