mirror of
https://github.com/ditkrg/AuthorizationServerDemos.git
synced 2026-01-22 22:47:02 +00:00
Customizes QR Code page
This commit is contained in:
parent
292ee3913b
commit
4810e9d634
@ -1,35 +1,30 @@
|
||||
@model OidcSamples.AuthorizationServer.Quickstart.Account.TotpViewModel
|
||||
|
||||
<div>
|
||||
<div class="page-header">
|
||||
<h1>Register for MFA</h1>
|
||||
</div>
|
||||
|
||||
<partial name="_ValidationSummary" />
|
||||
|
||||
<div class="row">
|
||||
<div class="row justify-content-center align-items-center">
|
||||
<div class="col-sm-6">
|
||||
<div class="card p-5">
|
||||
<h3 class="text-custom">Register Moble Device</h3>
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<h3 class="panel-title">Scan the QR code with your authenticator application</h3>
|
||||
<h5 class="panel-title font-weight-normal mb-4 mt-3">Scan the QR code with your authenticator application</h5>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<form asp-route="RegisterForMfa">
|
||||
<fieldset>
|
||||
<input type="hidden" asp-for="Secret" />
|
||||
<div class="form-group">
|
||||
<div class="form-group d-flex justify-content-center align-items-center my-2">
|
||||
<div id="qrCode"></div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<button class="btn btn-primary">Registration successful</button>
|
||||
</div>
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@section Scripts {
|
||||
|
||||
@ -24,8 +24,8 @@
|
||||
data-toggle="dropdown">@name <b class="caret"></b></a>
|
||||
|
||||
<div class="dropdown-menu">
|
||||
<a class="dropdown-item" asp-action="RegisterMobileDevice"
|
||||
asp-controller="Account">RegisterMobileDevice</a>
|
||||
<a class="dropdown-item" asp-action="RegisterMobileDevice" asp-controller="Account">Register
|
||||
Mobile Device</a>
|
||||
<a class="dropdown-item" asp-action="Logout" asp-controller="Account">Logout</a>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user