From 31cf8a07ae776658ae8d68928cf29385aed571af Mon Sep 17 00:00:00 2001
From: Anders Lund <anders.lund@uninett.no>
Date: Mon, 30 Jun 2008 13:14:20 +0000
Subject: [PATCH] List of attributes, so template might show a list of these

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@728 44740490-163a-0410-bde0-09ae8108e29a
---
 www/auth/login-feide.php | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/www/auth/login-feide.php b/www/auth/login-feide.php
index 739fbd274..5c7385438 100644
--- a/www/auth/login-feide.php
+++ b/www/auth/login-feide.php
@@ -296,6 +296,11 @@ if(array_key_exists('contact', $spmetadata)) {
 } else {
 	$t->data['contact'] = NULL;
 }
+if(array_key_exists('attributes', $spmetadata)) {
+	$t->data['attrib'] = $spmetadata['attributes'];
+} else {
+	$t->data['contact'] = NULL;
+}
 
 $t->data['selectorg'] = $selectorg;
 $t->data['org'] = $org;
-- 
GitLab