{% extends base_template|default:"bastion/base.html" %} {% load i18n %} {% comment %} One page for every pre-authentication failure. The cause is in the log against the reference, not here: varying the page by cause tells whoever is probing which of their guesses was closer. It is also what the break-glass route returns as a 404 when break-glass is disabled, so it has to read as an ordinary failure page and must not hint that anything exists behind it. Accessibility notes, since this page is easy to get wrong: - the title is front-loaded with "Error", because on a full page load the is the first and sometimes only thing a screen reader announces - there is a real <h1>, not a styled div - the reference is selectable text, because someone using a screen reader cannot read a code out of a screenshot - no autofocus anywhere; focus belongs on the heading {% endcomment %} {% block title %}{% translate "Error: Sign-in failed" %}{% if site_title %} | {{ site_title }}{% endif %}{% endblock %} {% block content_title %}<h1 tabindex="-1">{% translate "We could not sign you in" %}</h1>{% endblock %} {% block breadcrumbs %}{% endblock %} {% block nav-breadcrumbs %}{% endblock %} {% block usertools %}{% endblock %} {% block nav-global %}{% endblock %} {% block nav-sidebar %}{% endblock %} {% block content %} <p> {% blocktranslate trimmed %} Something went wrong while completing your sign-in. This is usually temporary. Try again, and if it keeps happening, contact your IT service desk. {% endblocktranslate %} </p> <p> {% translate "Give them this reference:" %} <code>{{ reference }}</code> </p> <p><a href="/">{% translate "Return to the home page" %}</a></p> {% endblock %}