1
0
mirror of https://github.com/bitwarden/browser synced 2024-12-28 02:43:04 +01:00

Open WebAuthn Prompt in New Tab (#4695)

- We already did this for Firefox and Safari
This commit is contained in:
Justin Baur 2023-02-08 17:00:11 -05:00 committed by GitHub
parent 1f3017214e
commit 12f820b88c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -68,8 +68,8 @@ export class TwoFactorComponent extends BaseTwoFactorComponent {
return syncService.fullSync(true);
};
super.successRoute = "/tabs/vault";
this.webAuthnNewTab =
this.platformUtilsService.isFirefox() || this.platformUtilsService.isSafari();
// FIXME: Chromium 110 has broken WebAuthn support in extensions via an iframe
this.webAuthnNewTab = true;
}
async ngOnInit() {