Skip to content
Snippets Groups Projects
Commit 81d06bfc authored by Thijs Kinkhorst's avatar Thijs Kinkhorst
Browse files

admin: fix contacts duplicated and fix link to cert download

parent 83f1c58b
No related branches found
No related tags found
No related merge requests found
......@@ -215,11 +215,6 @@ class Federation
$builder = new SAMLBuilder($entity['entityid']);
$builder->addMetadataIdP20($entity['metadata_array']);
$builder->addOrganizationInfo($entity['metadata_array']);
if (isset($entity['metadata_array']['contacts'])) {
foreach ($entity['metadata_array']['contacts'] as $contact) {
$builder->addContact($contact['contactType'], $contact);
}
}
$entity['metadata'] = Signer::sign(
$builder->getEntityDescriptorText(),
......@@ -284,7 +279,7 @@ class Federation
'admin/federation/cert',
[
'set' => $entity['metadata-set'],
'idp' => $entity['metadata-index'],
'entity' => $entity['metadata-index'],
'prefix' => $key['prefix'],
]
);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment