Disable2fa.cshtml 749 B

12345678910111213141516171819202122232425
  1. @page
  2. @model Disable2faModel
  3. @{
  4. ViewData["Title"] = "Disable two-factor authentication (2FA)";
  5. ViewData["ActivePage"] = ManageNavPages.TwoFactorAuthentication;
  6. }
  7. <partial name="_StatusMessage" for="StatusMessage" />
  8. <h3>@ViewData["Title"]</h3>
  9. <div class="alert alert-warning" role="alert">
  10. <p>
  11. <strong>This action only disables 2FA.</strong>
  12. </p>
  13. <p>
  14. Disabling 2FA does not change the keys used in authenticator apps. If you wish to change the key
  15. used in an authenticator app you should <a asp-page="./ResetAuthenticator">reset your authenticator keys.</a>
  16. </p>
  17. </div>
  18. <div>
  19. <form method="post">
  20. <button class="btn btn-danger" type="submit">Disable 2FA</button>
  21. </form>
  22. </div>