ResetAuthenticator.cshtml 901 B

123456789101112131415161718192021222324
  1. @page
  2. @model ResetAuthenticatorModel
  3. @{
  4. ViewData["Title"] = "Reset authenticator key";
  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. <span class="glyphicon glyphicon-warning-sign"></span>
  12. <strong>If you reset your authenticator key your authenticator app will not work until you reconfigure it.</strong>
  13. </p>
  14. <p>
  15. This process disables 2FA until you verify your authenticator app.
  16. If you do not complete your authenticator app configuration you may lose access to your account.
  17. </p>
  18. </div>
  19. <div>
  20. <form id="reset-authenticator-form" method="post">
  21. <button id="reset-authenticator-button" class="btn btn-danger" type="submit">Reset authenticator key</button>
  22. </form>
  23. </div>