PlotDirector/PlotLine/Views/ManageAccount/DisableTwoFactor.cshtml
Nick Beckley e48889ac05 Complete desktop workspaces, context menus and plot health
Commit the pending application, help and browser regression work. Pin the patched PKCS dependency for the production release.
2026-10-31 09:27:04 +00:00

35 lines
1.2 KiB
Plaintext

@model DisableTwoFactorViewModel
@{
ViewData["DesktopLayout"] = "compact";
ViewData["Title"] = "Disable Two Factor";
}
<div class="page-heading compact">
<div>
<p class="eyebrow">Account</p>
<h1>Disable Two Factor Authentication</h1>
<p class="lead-text">Confirm your current password to disable two-factor authentication.</p>
</div>
</div>
<section class="edit-panel">
<form asp-action="DisableTwoFactor" method="post" class="asset-create-form">
<div asp-validation-summary="ModelOnly" class="alert alert-warning"></div>
<div class="row g-3">
<div class="col-md-6">
<label class="form-label" asp-for="CurrentPassword">Current password</label>
<input class="form-control" asp-for="CurrentPassword" autocomplete="current-password" />
<span class="text-danger" asp-validation-for="CurrentPassword"></span>
</div>
</div>
<div class="button-row mt-3">
<button class="btn btn-outline-danger" type="submit">Disable Two Factor</button>
<a class="btn btn-outline-secondary" asp-action="Index">Cancel</a>
</div>
</form>
</section>
@section Scripts {
<partial name="_ValidationScriptsPartial" />
}