From ae03d95e53f34f5bb5d4df7891574fbdd6af0adb Mon Sep 17 00:00:00 2001
From: Martin <martin.vanes@surf.nl>
Date: Tue, 13 Jul 2021 10:44:18 +0200
Subject: [PATCH] Make attribute values bullets

---
 modules/customauth/templates/authenticate.tpl.php | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/modules/customauth/templates/authenticate.tpl.php b/modules/customauth/templates/authenticate.tpl.php
index e741997..a32c072 100644
--- a/modules/customauth/templates/authenticate.tpl.php
+++ b/modules/customauth/templates/authenticate.tpl.php
@@ -83,7 +83,12 @@
         var html = "";
         for (let key in users[user]) {
             if (keys[key]) {
-                html += "<b>" + key + "</b>: " + users[user][key] + "<br />\n";
+		var vals = users[user][key];
+		//html += "<b>" + key + "</b>: " + users[user][key] + "<br />\n";
+		html += "<b>" + key + "</b>: \n";
+		for (let i in vals) {
+                    html += "<li>" + vals[i] + "</li>\n";
+		}
             }
         }
         $('#output').html(html);
-- 
GitLab