From 11fd346f24662cfb8422b4e76d8b8ca9b5169acc Mon Sep 17 00:00:00 2001 From: Mads Freek Petersen <freek@wayf.dk> Date: Tue, 30 Sep 2008 20:23:32 +0000 Subject: [PATCH] Fix of sp_description for consent. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@907 44740490-163a-0410-bde0-09ae8108e29a --- www/shib13/idp/SSOService.php | 1 + 1 file changed, 1 insertion(+) diff --git a/www/shib13/idp/SSOService.php b/www/shib13/idp/SSOService.php index 0aecf9ca2..4ec9636b4 100644 --- a/www/shib13/idp/SSOService.php +++ b/www/shib13/idp/SSOService.php @@ -243,6 +243,7 @@ if (!$session->isAuthenticated($authority) ) { $t = new SimpleSAML_XHTML_Template($config, 'consent.php', 'attributes'); $t->data['header'] = 'Consent'; $t->data['sp_name'] = $sp_name; + $t->data['sp_description'] = (isset($spmetadata['description']) ? $spmetadata['description'] : "SP DESCRIPTION"); $t->data['idp_name'] = (isset($idpmetadata['name']) ? $idpmetadata['name'] : $idpentityid); $t->data['spentityid'] = $spentityid; $t->data['spmetadata'] = $spmetadata; -- GitLab