Skip to content
Snippets Groups Projects
Verified Commit 06a9a564 authored by Tom Teichler's avatar Tom Teichler :beers:
Browse files

Rewrite login template.

parent 92186389
No related branches found
No related tags found
1 merge request!59Resolve "2FA"
{# -*- 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 %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment