set basic layout, error boundary, add QR code for 2FA
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
</li>
|
||||
<li>
|
||||
<p>Scan the QR Code or enter this key <kbd>@Model.SharedKey</kbd> into your two factor authenticator app. Spaces and casing do not matter.</p>
|
||||
<div class="alert alert-info">Learn how to <a href="https://go.microsoft.com/fwlink/?Linkid=852423">enable QR code generation</a>.</div>
|
||||
@* <div class="alert alert-info">Learn how to <a href="https://go.microsoft.com/fwlink/?Linkid=852423">enable QR code generation</a>.</div> *@
|
||||
<div id="qrCode"></div>
|
||||
<div id="qrCodeData" data-url="@Model.AuthenticatorUri"></div>
|
||||
</li>
|
||||
@@ -50,4 +50,7 @@
|
||||
|
||||
@section Scripts {
|
||||
<partial name="_ValidationScriptsPartial" />
|
||||
|
||||
<script type="text/javascript" src="~/lib/qrcode/qrcode.min.js"></script>
|
||||
<script type="text/javascript" src="~/js/qr.js"></script>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user