diff --git a/maykin_2fa/templates/maykin_2fa/login.html b/maykin_2fa/templates/maykin_2fa/login.html index f631172..e919ea5 100644 --- a/maykin_2fa/templates/maykin_2fa/login.html +++ b/maykin_2fa/templates/maykin_2fa/login.html @@ -27,12 +27,14 @@
{% if user.is_authenticated %} -

- {% blocktranslate trimmed with username=request.user.get_username %} - You are authenticated as {{ username }}, but are not authorized to - access this page. Would you like to login to a different account? - {% endblocktranslate %} -

+ {% block autherrornote %} +

+ {% blocktranslate trimmed with username=request.user.get_username %} + You are authenticated as {{ username }}, but are not authorized to + access this page. Would you like to login to a different account? + {% endblocktranslate %} +

+ {% endblock %} {% endif %} {% if wizard.steps.current == 'token' %}