* Adding support for 2fa, more auth options * WIP getting auth stuff working * Added Manage views. 2FA working now for MVC app. * Switching to using a controller for no-UI logout scenario * Adding Razor Pages impl of 2FA auth stuff. Works.
21 lines
841 B
Plaintext
21 lines
841 B
Plaintext
@{
|
|
ViewData["Title"] = "Reset authenticator key";
|
|
ViewData.AddActivePage(ManageNavPages.TwoFactorAuthentication);
|
|
}
|
|
|
|
<h4>@ViewData["Title"]</h4>
|
|
<div class="alert alert-warning" role="alert">
|
|
<p>
|
|
<span class="glyphicon glyphicon-warning-sign"></span>
|
|
<strong>If you reset your authenticator key your authenticator app will not work until you reconfigure it.</strong>
|
|
</p>
|
|
<p>
|
|
This process disables 2FA until you verify your authenticator app and will also reset your 2FA recovery codes.
|
|
If you do not complete your authenticator app configuration you may lose access to your account.
|
|
</p>
|
|
</div>
|
|
<div>
|
|
<form asp-action="ResetAuthenticator" method="post" class="form-group">
|
|
<button class="btn btn-danger" type="submit">Reset authenticator key</button>
|
|
</form>
|
|
</div> |