Add a button to prompt WebAuthn on FF and Safari (#1879)

This commit is contained in:
Oscar Hinton 2021-06-08 09:29:11 +02:00 committed by GitHub
parent 4e1958f417
commit 786dd28a84
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 2 deletions

2
jslib

@ -1 +1 @@
Subproject commit 1016bbfb9eb28c220de8d2ab86d1f2757328f254
Subproject commit ff387622e0e8bbfb45a6a06da5eb86c8da9d763d

View File

@ -803,7 +803,10 @@
"message": "Insert your security key into your computer's USB port. If it has a button, touch it."
},
"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": {
"message": "Authenticate WebAuthn"

View File

@ -73,6 +73,7 @@
<ng-container *ngIf="selectedProviderType === providerType.WebAuthn && webAuthnNewTab">
<div class="content text-center" *ngIf="webAuthnNewTab">
<p class="text-center">{{'webAuthnNewTab' | i18n}}</p>
<button class="btn primary block" (click)="authWebAuthn()" appStopClick>{{'webAuthnNewTabOpen' | i18n}}</button>
</div>
</ng-container>
<ng-container *ngIf="selectedProviderType === providerType.Duo ||