diff --git a/src/documents/templates/mfa/authenticate.html b/src/documents/templates/mfa/authenticate.html new file mode 100644 index 000000000..e6d54b8fb --- /dev/null +++ b/src/documents/templates/mfa/authenticate.html @@ -0,0 +1,35 @@ +{% extends "paperless-ngx/base.html" %} +{% load i18n %} +{% load allauth %} +{% load allauth static %} + +{% block head_title %} + {% trans "Paperless-ngx Two-Factor Authentication" %} +{% endblock head_title %} + +{% block form_top_content %} +

+ {% blocktranslate %}Your account is protected by two-factor authentication. Please enter an authenticator code:{% endblocktranslate %} +

+{% endblock form_top_content %} + +{% block form_content %} +{% translate "Code" as i18n_code %} +
+ + +
+
+ + +
+{% endblock form_content %} + +{% block after_form_content %} +
+ +{% csrf_token %} +
+{% endblock after_form_content %}