mirror of
https://github.com/inventree/InvenTree.git
synced 2025-05-04 22:38:49 +00:00
* Improvement and consolidation of various auth forms * Update "disable 2FA" page to use form fields Note: Requires merging of https://github.com/valohai/django-allauth-2fa/pull/135 * Update django-allauth-2fa requirements
16 lines
371 B
HTML
16 lines
371 B
HTML
{% extends "account/base.html" %}
|
|
{% load i18n crispy_forms_tags %}
|
|
|
|
{% block content %}
|
|
<h1>{% trans "Two-Factor Authentication" %}</h1>
|
|
|
|
<form method="post" class="login">
|
|
{% csrf_token %}
|
|
{{ form|crispy }}
|
|
|
|
<button type="submit" class="btn btn-primary">
|
|
<span class='fas fa-check-circle'></span> {% trans 'Authenticate' %}
|
|
</button>
|
|
</form>
|
|
{% endblock %}
|