Skip to content
Snippets Groups Projects

Resolve "2FA"

Merged Tom Teichler requested to merge 91-2fa into master
Files
6
+ 24
0
{# -*- 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 %}
Loading