mirror of
https://github.com/bitwarden/browser.git
synced 2024-09-01 00:10:39 +02:00
allow u2f if window.u2f is available (firefox 57+)
This commit is contained in:
parent
c2f0352642
commit
f733fe659b
|
@ -126,7 +126,7 @@
|
|||
for (var i = 0; i < keys.length; i++) {
|
||||
var provider = $filter('filter')(constants.twoFactorProviderInfo, { type: keys[i], active: true });
|
||||
if (provider.length && provider[0].priority > providerPriority) {
|
||||
if (provider[0].type == constants.twoFactorProvider.u2f &&
|
||||
if (provider[0].type == constants.twoFactorProvider.u2f && (typeof $window.u2f === 'undefined') &&
|
||||
!utilsService.isChrome() && !utilsService.isOpera()) {
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user