diff --git a/modules/core/templates/short_sso_interval.php b/modules/core/templates/short_sso_interval.php index 0cfc81192d83db6b129b8edb7d7d435a5d02ec3b..e9938519199437ee9b896e547dffd615fc1bf5e5 100644 --- a/modules/core/templates/short_sso_interval.php +++ b/modules/core/templates/short_sso_interval.php @@ -25,6 +25,11 @@ $this->includeAtTemplateBase('includes/header.php'); } ?> <p><?php echo $this->t('{core:short_sso_interval:warning}'); ?></p> + <div class="trackidtext"><p> + <?php echo $this->t('{errors:report_trackid}'); ?> + <span class="trackid"><?php echo $this->data['trackId']; ?></span> + </p> + </div> <input type="submit" name="continue" id="contbutton" value="<?php echo htmlspecialchars($this->t('{core:short_sso_interval:retry}')) ?>" /> diff --git a/modules/core/www/short_sso_interval.php b/modules/core/www/short_sso_interval.php index c6ad096787e89527b2de67db5702c5121543c897..1949c7e76740adb29d8391674789a3a76ae7c5b7 100644 --- a/modules/core/www/short_sso_interval.php +++ b/modules/core/www/short_sso_interval.php @@ -19,6 +19,7 @@ if (!is_null($sid['url'])) { } $state = SimpleSAML_Auth_State::loadState($id, 'core:short_sso_interval'); +$session = SimpleSAML_Session::getSessionFromRequest(); if (array_key_exists('continue', $_REQUEST)) { /* The user has pressed the continue/retry-button. */ @@ -29,6 +30,7 @@ $globalConfig = SimpleSAML_Configuration::getInstance(); $t = new SimpleSAML_XHTML_Template($globalConfig, 'core:short_sso_interval.php'); $t->data['target'] = SimpleSAML_Module::getModuleURL('core/short_sso_interval.php'); $t->data['params'] = array('StateId' => $id); +$t->data['trackId'] = $session->getTrackID(); $t->show();