diff --git a/src/backend/InvenTree/templates/allauth_2fa/authenticate.html b/src/backend/InvenTree/templates/allauth_2fa/authenticate.html deleted file mode 100644 index 891d5ab5eb..0000000000 --- a/src/backend/InvenTree/templates/allauth_2fa/authenticate.html +++ /dev/null @@ -1,16 +0,0 @@ -{% extends "account/base.html" %} -{% load i18n crispy_forms_tags %} - -{% block content %} -

{% trans "Two-Factor Authentication" %}

- -
- {% csrf_token %} - {{ form|crispy }} - -
- -
-{% endblock content %} diff --git a/src/backend/InvenTree/templates/allauth_2fa/backup_tokens.html b/src/backend/InvenTree/templates/allauth_2fa/backup_tokens.html deleted file mode 100644 index 35cc8c5b42..0000000000 --- a/src/backend/InvenTree/templates/allauth_2fa/backup_tokens.html +++ /dev/null @@ -1,39 +0,0 @@ -{% extends "account/base.html" %} -{% load i18n %} - -{% block content %} -

- {% trans "Two-Factor Authentication Backup Tokens" %} -

- -{% if backup_tokens %} - {% if reveal_tokens %} - - {% else %} - {% trans 'Backup tokens have been generated, but are not revealed here for security reasons. Press the button below to generate new ones.' %} - {% endif %} -{% else %} - {% trans 'No backup tokens are available. Press the button below to generate some.' %} -{% endif %} - -
-
- {% csrf_token %} -
- -
-
- -
- - {% trans "Return to Site" %} - -
- -{% endblock content %} diff --git a/src/backend/InvenTree/templates/allauth_2fa/remove.html b/src/backend/InvenTree/templates/allauth_2fa/remove.html deleted file mode 100644 index 67c9c05286..0000000000 --- a/src/backend/InvenTree/templates/allauth_2fa/remove.html +++ /dev/null @@ -1,27 +0,0 @@ -{% extends "account/base.html" %} -{% load i18n crispy_forms_tags %} - -{% block content %} -

- {% trans "Disable Two-Factor Authentication" %} -

- -

{% trans "Are you sure?" %}

- -
- {% csrf_token %} - {{ form|crispy }} -
-
- -
-
- -
- - {% trans "Return to Site" %} - -
-{% endblock content %} diff --git a/src/backend/InvenTree/templates/allauth_2fa/setup.html b/src/backend/InvenTree/templates/allauth_2fa/setup.html deleted file mode 100644 index c05b049f1f..0000000000 --- a/src/backend/InvenTree/templates/allauth_2fa/setup.html +++ /dev/null @@ -1,48 +0,0 @@ -{% extends "account/base.html" %} -{% load i18n crispy_forms_tags %} - -{% block content %} -

- {% trans "Setup Two-Factor Authentication" %} -

- -

- {% trans 'Step 1' %}: -

- -

- {% trans 'Scan the QR code below with a token generator of your choice (for instance Google Authenticator).' %} -

- -
-{% trans 'QR Code' %} -
-

{% trans 'Secret: ' %}{{ secret }}

-
- -

- {% trans 'Step 2' %}: -

- -

- {% trans 'Input a token generated by the app:' %} -

- -
- {% csrf_token %} - {{ form|crispy }} - -
-
- -
-
- -
- - {% trans "Return to Site" %} - -
-{% endblock content %}