app-MAIL-temp/app/dashboard/templates/dashboard/mfa_cancel.html
2020-05-29 13:33:14 +01:00

30 lines
775 B
HTML

{% extends 'default.html' %}
{% set active_page = "setting" %}
{% block title %}
Cancel MFA
{% endblock %}
{% block default_content %}
<div class="card">
<div class="card-body">
<h1 class="h2">Two Factor Authentication</h1>
<p>
To remove 2FA please enter your 2FA code from the authenticator app.
</p>
<form method="post">
{{ otp_token_form.csrf_token }}
<div class="font-weight-bold mt-5">Token</div>
<div class="small-text">The 6-digit 2FA code.</div>
{{ otp_token_form.token(class="form-control", autofocus="true") }}
{{ render_field_errors(otp_token_form.token) }}
<button class="btn btn-lg btn-danger mt-2">Remove 2FA</button>
</form>
</div>
</div>
{% endblock %}