{% blocktranslate trimmed %} You are authenticated as {{ username }}, but are not authorized to access this page. Would you like to login to a different account? {% endblocktranslate %}
{% endif %}{% extends "admin/login.html" %} {% load i18n %} {% comment %} Django's admin sign-in, with break-glass's code (#611). Django names its form's fields one by one, with no block between them, so this repeats its form with the code added after the password. test_second_factor.py keeps it in step with Django's own admin/login.html. {% endcomment %} {% block content_title %}{% if title %}
{% blocktranslate count counter=form.errors.items|length %}Please correct the error below.{% plural %}Please correct the errors below.{% endblocktranslate %}
{% endif %} {% if form.non_field_errors %} {% for error in form.non_field_errors %}{{ error }}
{% endfor %} {% endif %}{% blocktranslate trimmed %} You are authenticated as {{ username }}, but are not authorized to access this page. Would you like to login to a different account? {% endblocktranslate %}
{% endif %}