1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-12-20 16:07:45 +01:00

always allow chrome to use u2f

This commit is contained in:
Kyle Spearrin 2019-01-10 11:23:16 -05:00
parent 3942409c9a
commit a48cc2a7f3
2 changed files with 2 additions and 2 deletions

2
jslib

@ -1 +1 @@
Subproject commit 65bd33d860f3af71968a15e78491221091c4369e
Subproject commit 2e9ce1571514e2b4ae9ed61a1368b2db03a0ca5d

View File

@ -164,7 +164,7 @@ export class WebPlatformUtilsService implements PlatformUtilsService {
if (win != null && (win as any).u2f != null) {
return true;
}
return (this.isChrome() || this.isOpera() || this.isVivaldi()) && !Utils.isMobileBrowser;
return this.isChrome() || ((this.isOpera() || this.isVivaldi()) && !Utils.isMobileBrowser);
}
supportsDuo(): boolean {