From 0761896f993fdb101632640bb5387913038252d4 Mon Sep 17 00:00:00 2001
From: Guillaume Rousse <guillaume.rousse@renater.fr>
Date: Mon, 16 Nov 2020 13:37:10 +0100
Subject: [PATCH] forgotten in #2e962b2

---
 templates/web/edugain/create_accounts.tt2.html | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/templates/web/edugain/create_accounts.tt2.html b/templates/web/edugain/create_accounts.tt2.html
index 99f5efb..d454d10 100644
--- a/templates/web/edugain/create_accounts.tt2.html
+++ b/templates/web/edugain/create_accounts.tt2.html
@@ -56,9 +56,9 @@
         <div>
             <table>
                 <caption>[% lh.maketext("List of user attributes") %]</caption>
-    [% FOREACH attribute IN [ 'cn', 'displayName', 'givenName', 'sn', 'mail', 'schacHomeOrganization', 'schacHomeOrganizationType', 'eduPersonPrincipalName', 'eduPersonAffiliation', 'eduPersonScopedAffiliation' ] %]
+    [% FOREACH pair IN attributes.pairs %]
                 <tr>
-                    <th>[% attribute %]</th><td>[% attributes.$attribute.join(', ') %]</td>
+                    <th>[% pair.key %]</th><td>[% pair.value.join(', ') %]</td>
                 </tr>
     [% END %]
                 <tr>
-- 
GitLab