Files
marechai/Marechai/Areas/Identity/Pages/Account/Manage/Disable2fa.cshtml

23 lines
772 B
Plaintext
Raw Normal View History

2020-05-24 02:12:11 +01:00
@page
@model Disable2faModel
@{
ViewData["Title"] = "Disable two-factor authentication (2FA)";
ViewData["ActivePage"] = ManageNavPages.TwoFactorAuthentication;
}
2020-12-20 21:34:13 +00:00
<partial for="StatusMessage" name="_StatusMessage" />
2020-05-24 02:12:11 +01:00
<h2>@ViewData["Title"]</h2>
<div class="alert alert-warning" role="alert">
<p>
<strong>This action only disables 2FA.</strong>
</p>
<p>
Disabling 2FA does not change the keys used in authenticator apps. If you wish to change the key
used in an authenticator app you should
<a asp-page="./ResetAuthenticator">reset your authenticator keys.</a>
</p>
</div>
<div>
<form class="form-group" method="post">
<button class="btn btn-danger" type="submit">Disable 2FA</button>
</form>
</div>