Created
March 17, 2024 09:19
-
-
Save Chenx221/3e15384652207eb99652df13514ca789 to your computer and use it in GitHub Desktop.
Yii2, Webauthn Framework (Part 3)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h5> | |
<i class="fa-solid fa-key"></i> | |
Webauthn | |
</h5> | |
<div class="input-group" id="totp_area"> | |
<input type="text" class="form-control" placeholder="New Name" aria-label="New Name" name="fido_name" | |
id="fido_name"> | |
<?= Html::button('Add', ['id' => "webauthn_add", 'type' => 'button', 'class' => 'btn btn-primary btn-sm']) ?> | |
<?= Html::button('Verify', ['id' => "webauthn_verify", 'type' => 'button', 'class' => 'btn btn-primary btn-sm']) ?> | |
</div> | |
<div class="alert alert-success" role="alert" hidden> | |
<span id="webauthn_success"></span> | |
</div> | |
<div class="alert alert-danger" role="alert" hidden> | |
<span id="webauthn_error"></span> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment