Commit 8da7dfe1 authored by Robert Lyon's avatar Robert Lyon
Browse files

Bug 1827955: display correct header on SAML metadata page



Behatnotneeded

Change-Id: Id4a2e64ae970dad25065ca38bc98de0a268c1c17
Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
(cherry picked from commit 0aa44264)
parent a449bca8
...@@ -291,7 +291,7 @@ if (array_key_exists('output', $_REQUEST) && $_REQUEST['output'] == 'xhtml') { ...@@ -291,7 +291,7 @@ if (array_key_exists('output', $_REQUEST) && $_REQUEST['output'] == 'xhtml') {
$t->data['clipboard.js'] = true; $t->data['clipboard.js'] = true;
$t->data['available_certs'] = $availableCerts; $t->data['available_certs'] = $availableCerts;
$t->data['header'] = 'saml20-sp'; // TODO: Replace with headerString in 2.0 $t->data['header'] = 'saml20-sp'; // TODO: Replace with headerString in 2.0
$t->data['headerString'] = $t->noop('metadata_saml20-idp'); $t->data['headerString'] = $t->noop('metadata_saml20-sp');
$t->data['metaurl'] = get_config('wwwroot') . "auth/saml/sp/metadata.php"; $t->data['metaurl'] = get_config('wwwroot') . "auth/saml/sp/metadata.php";
$t->data['metadata'] = htmlspecialchars($xml); $t->data['metadata'] = htmlspecialchars($xml);
$t->data['metadataflat'] = '$metadata[' . var_export($entityId, true) . '] = ' . var_export($metaArray20, true) . ';'; $t->data['metadataflat'] = '$metadata[' . var_export($entityId, true) . '] = ' . var_export($metaArray20, true) . ';';
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment