From 21f91841dc8103114b7915936728e969789f04ef Mon Sep 17 00:00:00 2001
From: Martin <martin.vanes@surf.nl>
Date: Tue, 13 Jul 2021 15:44:58 +0200
Subject: [PATCH] Add attributes.json

---
 config/attributes.json                            | 14 ++++++++++++++
 modules/customauth/templates/authenticate.tpl.php |  2 +-
 2 files changed, 15 insertions(+), 1 deletion(-)
 create mode 100644 config/attributes.json

diff --git a/config/attributes.json b/config/attributes.json
new file mode 100644
index 0000000..68eed5d
--- /dev/null
+++ b/config/attributes.json
@@ -0,0 +1,14 @@
+{
+  "uid": "About uid",
+  "schacHomeOrganization": "About schacHomeOrganization",
+  "eduPersonPrincipalName": "About eduPersonPrincipalName",
+  "cn" : "About cn",
+  "givenName" : "About givenName",
+  "sn" : "About sn",
+  "displayName" : "About displayName",
+  "mail" : "About mail",
+  "eduPersonAffiliation" : "About eduPersonAffiliation",
+  "eduPersonScopedAffiliation" : "About eduPersonScopedAffiliation",
+  "eduPersonEntitlement" : "About eduPersonEntitlement",
+  "isMemberOf" : "About isMemberOf"
+}
diff --git a/modules/customauth/templates/authenticate.tpl.php b/modules/customauth/templates/authenticate.tpl.php
index a32c072..dad7cd1 100644
--- a/modules/customauth/templates/authenticate.tpl.php
+++ b/modules/customauth/templates/authenticate.tpl.php
@@ -23,7 +23,7 @@
     <form method="post" action="?">
    <p><hr/><b>Choose Test Scenario</b></p>
   <div style="float:left; margin-right: 10px">
-  <select name=username size=5 style='width: 250px;'>
+  <select name=username size=10 style='width: 300px;'>
 <?php
     $first = true;
     $users = $this->data['users'];
-- 
GitLab