From 6c33fa50ea30d4d9a26e8e4d281b52b2dfbe922b Mon Sep 17 00:00:00 2001 From: Olav Morken <olav.morken@uninett.no> Date: Wed, 6 Aug 2008 07:20:04 +0000 Subject: [PATCH] Shib13-SSOService: Fix notices/warnings. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@797 44740490-163a-0410-bde0-09ae8108e29a --- www/shib13/idp/SSOService.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/www/shib13/idp/SSOService.php b/www/shib13/idp/SSOService.php index 41ad67436..8c2154f7f 100644 --- a/www/shib13/idp/SSOService.php +++ b/www/shib13/idp/SSOService.php @@ -23,7 +23,7 @@ if (!$config->getValue('enable.shib13-idp', false)) try { $idpentityid = $metadata->getMetaDataCurrentEntityID('shib13-idp-hosted', 'entityid'); - $idmetaindex = $metadata->getMetaDataCurrentEntityID('shib13-idp-hosted', 'metaindex'); + $idpmetaindex = $metadata->getMetaDataCurrentEntityID('shib13-idp-hosted', 'metaindex'); $idpmetadata = $metadata->getMetaDataCurrent('shib13-idp-hosted'); } catch (Exception $exception) { SimpleSAML_Utilities::fatalError($session->getTrackID(), 'METADATA', $exception); @@ -54,6 +54,7 @@ if (isset($_GET['shire'])) { 'Issuer' => $authnrequest->getIssuer(), 'shire' => $authnrequest->getShire(), 'RelayState' => $authnrequest->getRelayState(), + 'ConsentCookie' => SimpleSAML_Utilities::generateID(), ); SimpleSAML_Logger::info('Shib1.3 - IdP.SSOService: Got incomming Shib authnRequest requestid: '.$requestid); -- GitLab