Skip to content
Snippets Groups Projects
Commit 426655a9 authored by Olav Morken's avatar Olav Morken
Browse files

Consent: Include spmetadata as parameter to consent template.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@795 44740490-163a-0410-bde0-09ae8108e29a
parent 15acba80
No related branches found
No related tags found
No related merge requests found
......@@ -277,6 +277,7 @@ if($needAuth && !$isPassive) {
$t->data['sp_name'] = $sp_name;
$t->data['idp_name'] = (isset($idpmetadata['name']) ? $idpmetadata['name'] : $idpentityid);
$t->data['spentityid'] = $spentityid;
$t->data['spmetadata'] = $spmetadata;
$t->data['attributes'] = $filteredattributes;
$t->data['consenturl'] = SimpleSAML_Utilities::selfURLNoQuery();
$t->data['requestid'] = $authId;
......
......@@ -189,6 +189,7 @@ if (!$session->isAuthenticated($authority) ) {
$t->data['sp_name'] = $sp_name;
$t->data['idp_name'] = (isset($idpmetadata['name']) ? $idpmetadata['name'] : $idpentityid);
$t->data['spentityid'] = $spentityid;
$t->data['spmetadata'] = $spmetadata;
$t->data['attributes'] = $filteredattributes;
$t->data['consenturl'] = SimpleSAML_Utilities::selfURLNoQuery();
$t->data['requestid'] = $authId;
......
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