| 1 |
{% extends "mfa/totp/base.html" %} |
| 2 |
{% load i18n %} |
| 3 |
{% load allauth %} |
| 4 |
{% block head_title %} |
| 5 |
{% trans "Deactivate Authenticator App" %} |
| 6 |
{% endblock head_title %} |
| 7 |
{% block content %} |
| 8 |
{% element h1 %} |
| 9 |
{% trans "Deactivate Authenticator App" %} |
| 10 |
{% endelement %} |
| 11 |
{% element p %} |
| 12 |
{% blocktranslate %}You are about to deactivate authenticator app based authentication. Are you sure?{% endblocktranslate %} |
| 13 |
{% endelement %} |
| 14 |
{% url 'mfa_deactivate_totp' as action_url %} |
| 15 |
{% element form form=form method="post" action=action_url no_visible_fields=True %} |
| 16 |
{% slot body %} |
| 17 |
{% csrf_token %} |
| 18 |
{% element fields form=form %} |
| 19 |
{{ form.as_p }} |
| 20 |
{% endelement %} |
| 21 |
{% endslot %} |
| 22 |
{% slot actions %} |
| 23 |
{% element button tags="danger,delete" type="submit" %} |
| 24 |
{% trans "Deactivate" %} |
| 25 |
{% endelement %} |
| 26 |
{% endslot %} |
| 27 |
{% endelement %} |
| 28 |
{% endblock content %} |