Change the category if the user needs to log in in the UI

This commit is contained in:
Théophile Diot 2023-03-21 16:45:49 +01:00
parent e003b751dd
commit d810882720
No known key found for this signature in database
GPG Key ID: E752C80DB72BB014
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@
></path>
</svg>
</button>
{% if category == 'error' %}
{% if category == 'error' or (message|safe).startswith("Please log in") %}
<h5 class="text-lg mb-0 text-red-500">Error</h5>
<p class="text-gray-700 dark:text-gray-300 mb-0 text-sm">
{{ message|safe }}