mirror of
https://github.com/bitwarden/browser
synced 2025-12-15 15:53:27 +00:00
Add a button to prompt WebAuthn on FF and Safari (#1879)
This commit is contained in:
2
jslib
2
jslib
Submodule jslib updated: 1016bbfb9e...ff387622e0
@@ -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 ||
|
||||||
|
|||||||
Reference in New Issue
Block a user