You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
1001 B
HTML
25 lines
1001 B
HTML
{% extends "two_factor/_base_focus.html" %}
|
|
{% load i18n %}
|
|
|
|
{% block content %}
|
|
<h1 class="title">{% block title %}{% trans "Enable Two-Factor Authentication" %}{% endblock %}</h1>
|
|
|
|
<p class="subtitle">{% blocktrans trimmed %}Congratulations, you've successfully enabled two-factor
|
|
authentication.{% endblocktrans %}</p>
|
|
|
|
{% if not phone_methods %}
|
|
<p class="subtitle"><a href="{% url 'two_factor:profile' %}"
|
|
class="button">{% trans "Back to Account Security" %}</a></p>
|
|
{% else %}
|
|
<p class="subtitle">{% blocktrans trimmed %}However, it might happen that you don't have access to
|
|
your primary token device. To enable account recovery, add a phone
|
|
number.{% endblocktrans %}</p>
|
|
|
|
<a href="{% url 'two_factor:profile' %}"
|
|
class="float-right button">{% trans "Back to Account Security" %}</a>
|
|
<p class="subtitle"><a href="{% url 'two_factor:phone_create' %}"
|
|
class="button">{% trans "Add Phone Number" %}</a></p>
|
|
{% endif %}
|
|
|
|
{% endblock %}
|