Set iframe allow on window load (#1125)

* Set webauthn allow on initial page load

* Update jslib
This commit is contained in:
Matt Gibson 2021-08-13 10:23:51 -04:00 committed by GitHub
parent 919af717b9
commit b47835df68
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

2
jslib

@ -1 +1 @@
Subproject commit c70c8ecc247cb92e1f867630031fd5cdf124bcd3
Subproject commit 1f0127966e85aa29f9e50144de9b2a03b00de5d4

View File

@ -35,7 +35,7 @@
</ng-container>
<ng-container *ngIf="selectedProviderType === providerType.WebAuthn">
<div id="web-authn-frame" class="mb-3">
<iframe id="webauthn_iframe"></iframe>
<iframe id="webauthn_iframe" [allow]="webAuthnAllow"></iframe>
</div>
</ng-container>
<ng-container *ngIf="selectedProviderType === providerType.Duo ||