mirror of
https://github.com/bitwarden/browser.git
synced 2025-01-04 18:37:45 +01:00
Add a button to prompt WebAuthn on FF and Safari (#1879)
This commit is contained in:
parent
4e1958f417
commit
786dd28a84
2
jslib
2
jslib
@ -1 +1 @@
|
|||||||
Subproject commit 1016bbfb9eb28c220de8d2ab86d1f2757328f254
|
Subproject commit ff387622e0e8bbfb45a6a06da5eb86c8da9d763d
|
@ -803,7 +803,10 @@
|
|||||||
"message": "Insert your security key into your computer's USB port. If it has a button, touch it."
|
"message": "Insert your security key into your computer's USB port. If it has a button, touch it."
|
||||||
},
|
},
|
||||||
"webAuthnNewTab": {
|
"webAuthnNewTab": {
|
||||||
"message": "Continue the WebAuthn 2FA verification in the new tab."
|
"message": "To start the WebAuthn 2FA verification. Click the button below to open a new tab and follow the instructions provided in the new tab."
|
||||||
|
},
|
||||||
|
"webAuthnNewTabOpen": {
|
||||||
|
"message": "Open new tab"
|
||||||
},
|
},
|
||||||
"webAuthnAuthenticate": {
|
"webAuthnAuthenticate": {
|
||||||
"message": "Authenticate WebAuthn"
|
"message": "Authenticate WebAuthn"
|
||||||
|
@ -73,6 +73,7 @@
|
|||||||
<ng-container *ngIf="selectedProviderType === providerType.WebAuthn && webAuthnNewTab">
|
<ng-container *ngIf="selectedProviderType === providerType.WebAuthn && webAuthnNewTab">
|
||||||
<div class="content text-center" *ngIf="webAuthnNewTab">
|
<div class="content text-center" *ngIf="webAuthnNewTab">
|
||||||
<p class="text-center">{{'webAuthnNewTab' | i18n}}</p>
|
<p class="text-center">{{'webAuthnNewTab' | i18n}}</p>
|
||||||
|
<button class="btn primary block" (click)="authWebAuthn()" appStopClick>{{'webAuthnNewTabOpen' | i18n}}</button>
|
||||||
</div>
|
</div>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
<ng-container *ngIf="selectedProviderType === providerType.Duo ||
|
<ng-container *ngIf="selectedProviderType === providerType.Duo ||
|
||||||
|
Loading…
Reference in New Issue
Block a user