bookwyrm/bookwyrm/templates/preferences/disable-2fa.html
Hugh Rundle aca5c19f70 2fa templates
- new page templates for 2FA
- add 2FA to menu in user preferences
2022-10-15 07:47:20 +11:00

24 lines
772 B
HTML

{% extends 'preferences/layout.html' %}
{% load i18n %}
{% block title %}{% trans "Disable 2FA" %}{% endblock %}
{% block header %}
{% trans "Disable 2FA" %}
{% endblock %}
{% block panel %}
<div class="block">
<h2 class="title is-4">{% trans "Disable Two Factor Authentication" %}</h2>
<p class="notification is-danger is-light">
{% trans "Disabling 2FA will allow anyone with your username and password to log in to your account." %}
</p>
<form name="disable-2fa" action="{% url 'disable-2fa' %}" method="post">
{% csrf_token %}
<a class="button" href="{% url 'prefs-2fa' %}">{% trans "Cancel" %}</a>
<button type="submit" class="button is-danger">{% trans "Turn off 2FA" %}</button>
</form>
</div>
{% endblock %}