From 9962cce71d400748504d6ea4a6f30e1ba13f289b Mon Sep 17 00:00:00 2001
From: Olav Morken <olav.morken@uninett.no>
Date: Mon, 29 Apr 2013 05:59:20 +0000
Subject: [PATCH] Fix default configuration for consentAdmin &
 consentSimpleAdmin.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Thanks to François Kooman for providing this patch!

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@3237 44740490-163a-0410-bde0-09ae8108e29a
---
 modules/consentAdmin/config-templates/module_consentAdmin.php   | 2 +-
 .../config-templates/module_consentSimpleAdmin.php              | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/consentAdmin/config-templates/module_consentAdmin.php b/modules/consentAdmin/config-templates/module_consentAdmin.php
index 8ed4b757c..e8928bebc 100644
--- a/modules/consentAdmin/config-templates/module_consentAdmin.php
+++ b/modules/consentAdmin/config-templates/module_consentAdmin.php
@@ -26,7 +26,7 @@ $config = array(
 	'returnURL' => 'http://www.wayf.dk',
 
     // Shows description of the services if set to true (defaults to true)
-    'showDesription' => true, 
+    'showDescription' => true,
 
     // Set authority
     'authority' => 'saml2',
diff --git a/modules/consentSimpleAdmin/config-templates/module_consentSimpleAdmin.php b/modules/consentSimpleAdmin/config-templates/module_consentSimpleAdmin.php
index 02a665b01..ee4ebe392 100644
--- a/modules/consentSimpleAdmin/config-templates/module_consentSimpleAdmin.php
+++ b/modules/consentSimpleAdmin/config-templates/module_consentSimpleAdmin.php
@@ -11,6 +11,6 @@ $config = array(
 	),
 
 	'auth' => 'example-static',
-	'userid', 'eduPersonPrincipalName',
+	'userid' => 'eduPersonPrincipalName',
 
 );
-- 
GitLab