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

Applied patch from Harald Hannelius which adds the SP entity id to the...

Applied patch from Harald Hannelius which adds the SP entity id to the parameters passed to the consent-template.

Also added the same code to SAML2 SSOService.


git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@682 44740490-163a-0410-bde0-09ae8108e29a
parent 36d61449
No related branches found
No related tags found
No related merge requests found
......@@ -268,6 +268,7 @@ if($needAuth && !$isPassive) {
$t = new SimpleSAML_XHTML_Template($config, 'consent.php', 'attributes.php');
$t->data['header'] = 'Consent';
$t->data['sp_name'] = $sp_name;
$t->data['spentityid'] = $spentityid;
$t->data['attributes'] = $filteredattributes;
$t->data['consenturl'] = SimpleSAML_Utilities::selfURLNoQuery();
$t->data['requestid'] = $authId;
......
......@@ -187,6 +187,7 @@ if (!$session->isAuthenticated($authority) ) {
$t = new SimpleSAML_XHTML_Template($config, 'consent.php', 'attributes.php');
$t->data['header'] = 'Consent';
$t->data['sp_name'] = $sp_name;
$t->data['spentityid'] = $spentityid;
$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