remove totp section
This commit is contained in:
parent
6037a70285
commit
1f5091d090
|
|
@ -155,10 +155,6 @@
|
|||
|
||||
<div class="col-md-6">
|
||||
<h5>{% trans "Change factors" %}</h5>
|
||||
<a href="{% url 'two-factor-setup' %}" class="btn btn-primary {% if user.staticdevice_set.all and user.totpdevice_set.all %}disabled{% endif %}" role="button">{% trans "Setup multifactor" %}</a>
|
||||
{% if user.staticdevice_set.all or user.totpdevice_set.all %}
|
||||
<a href="{% url 'two-factor-remove' %}" class="btn btn-primary" role="button">{% trans "Remove multifactor" %}</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue