mirror of
https://github.com/claunia/marechai.git
synced 2025-12-16 19:14:25 +00:00
55 lines
2.3 KiB
Plaintext
55 lines
2.3 KiB
Plaintext
@{
|
|
/******************************************************************************
|
|
// Canary Islands Computer Museum Website
|
|
// ----------------------------------------------------------------------------
|
|
//
|
|
// Filename : ResetAuthenticator.cshtml
|
|
// Author(s) : Natalia Portillo <claunia@claunia.com>
|
|
//
|
|
// --[ Description ] ----------------------------------------------------------
|
|
//
|
|
// ASP.NET Identify management
|
|
//
|
|
// --[ License ] --------------------------------------------------------------
|
|
//
|
|
// This program is free software: you can redistribute it and/or modify
|
|
// it under the terms of the GNU General Public License as
|
|
// published by the Free Software Foundation, either version 3 of the
|
|
// License, or (at your option) any later version.
|
|
//
|
|
// This program is distributed in the hope that it will be useful,
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
// GNU General Public License for more details.
|
|
//
|
|
// You should have received a copy of the GNU General Public License
|
|
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
//
|
|
// ----------------------------------------------------------------------------
|
|
// Copyright © 2003-2018 Natalia Portillo
|
|
*******************************************************************************/
|
|
}
|
|
@page
|
|
@model ResetAuthenticatorModel
|
|
@{
|
|
ViewData["Title"] = "Reset authenticator key";
|
|
ViewData["ActivePage"] = ManageNavPages.TwoFactorAuthentication;
|
|
}
|
|
|
|
@Html.Partial("_StatusMessage", Model.StatusMessage)
|
|
<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.
|
|
If you do not complete your authenticator app configuration you may lose access to your account.
|
|
</p>
|
|
</div>
|
|
<div>
|
|
<form id="reset-authenticator-form" method="post" class="form-group">
|
|
<button id="reset-authenticator-button" class="btn btn-danger" type="submit">Reset authenticator key</button>
|
|
</form>
|
|
</div> |