From 027ae5b97fd779a06da726b4a1b7c53029480bb6 Mon Sep 17 00:00:00 2001 From: Alexandre Iooss Date: Mon, 10 Aug 2020 13:49:53 +0200 Subject: [PATCH] Color reauth warning on login page --- note_kfet/templates/registration/login.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/note_kfet/templates/registration/login.html b/note_kfet/templates/registration/login.html index 7cdec5b3..65eb9f3b 100644 --- a/note_kfet/templates/registration/login.html +++ b/note_kfet/templates/registration/login.html @@ -19,13 +19,13 @@ SPDX-License-Identifier: GPL-2.0-or-later
{% if user.is_authenticated %} -

+

{% blocktrans trimmed with username=request.user.username %} You are authenticated as {{ username }}, but are not authorized to access this page. Would you like to login to a different account, or with a higher permission mask? {% endblocktrans %} -

+
{% endif %} {% if request.resolver_match.view_name == 'admin:login' %}