diff --git a/biscuit/core/templates/two_factor/login.html b/biscuit/core/templates/two_factor/login.html new file mode 100644 index 0000000000000000000000000000000000000000..cc46fbc144febe55a1b25145acd30d43fa4b3589 --- /dev/null +++ b/biscuit/core/templates/two_factor/login.html @@ -0,0 +1,24 @@ +{# -*- engine:django -*- #} +{% extends "core/base.html" %} +{% load bootstrap4 i18n %} + +{% block content %} + {% if next %} + {% if user.is_authenticated %} + <p> + Your account doesn't have access to this page. To proceed, + please login with an account that has access. + </p> + {% else %} + <p>Please login to see this page.</p> + {% endif %} + {% endif %} + + <form method="post" action="{% url 'two_factor:login' %}"> + {% csrf_token %} + {% bootstrap_form form %} + <button type="submit" class="btn btn-dark"> + {% blocktrans %}Login{% endblocktrans %} + </button> + </form> +{% endblock %}