From 7134de3e1fa4c1ba258a73969ef35cea154ed048 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Gruszczy=C5=84ski?= Date: Fri, 11 Jul 2025 11:24:06 +0200 Subject: [PATCH] poprawki w autoryzacji --- templates/base.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/templates/base.html b/templates/base.html index fa3693c..d10859f 100644 --- a/templates/base.html +++ b/templates/base.html @@ -32,7 +32,7 @@ {% endif %} {% endif %} - + {% if not is_blocked %}
{% if request.endpoint and request.endpoint != 'system_auth' %} {% if current_user.is_authenticated and current_user.is_admin %} @@ -45,9 +45,12 @@ {% endif %} {% endif %}
+ {% endif %} + +
{% block content %}{% endblock %}