From fd9cc26c66342aeb7008182747947b183d2a5c80 Mon Sep 17 00:00:00 2001 From: Lukas Koenen <lukas.koenen@h-da.de> Date: Thu, 2 Mar 2023 10:11:15 +0100 Subject: [PATCH] fix: improve readability --- contrib/report_builders/templates/jinja2_report.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/contrib/report_builders/templates/jinja2_report.html b/contrib/report_builders/templates/jinja2_report.html index b53d4f2..2f69b18 100644 --- a/contrib/report_builders/templates/jinja2_report.html +++ b/contrib/report_builders/templates/jinja2_report.html @@ -188,6 +188,9 @@ </div> <div id="password_auth"> <div class="section_head password_auth_warning">Instance with enabled password authentication:</div> + {% if data.password_auth_enabled | length == 0 %} + None + {% endif %} <ol class="ip_list"> {% for ip in data.password_auth_enabled %} <li>{{ ip }}</li> -- GitLab