simple-login/templates/dashboard/mfa_cancel.html
Adrià Casajús d874acfe2c
Fix: Add CSRF validation to api key management page (#1523)
* Fix: Add CSRF validation to api key management page

* Added csrf to subdomain creation

* Added CSRF to totp cancel

Co-authored-by: Adrià Casajús <adria.casajus@proton.ch>
2023-01-12 12:34:47 +01:00

21 lines
572 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>
<div>
Disabling TOTP reduces the security of your account, please make sure to re-activate it later
or use WebAuthn (FIDO).
</div>
<form method="post">
{{ csrf_form.csrf_token }}
<button class="btn btn-danger mt-2">Disable TOTP</button>
</form>
</div>
</div>
{% endblock %}