Skip to content
Snippets Groups Projects

Added heading for reportIdp email

Closed Ghost User requested to merge github/fork/dBucik/devel into master
1 file
+ 9
0
Compare changes
  • Side-by-side
  • Inline
@@ -35,9 +35,18 @@ if (!isset($_POST['redirectUri'])) {
@@ -35,9 +35,18 @@ if (!isset($_POST['redirectUri'])) {
$config = SimpleSAML_Configuration::getInstance();
$config = SimpleSAML_Configuration::getInstance();
 
$auth_config = SimpleSAML_Configuration::getConfig("authsources.php");
 
//name of institution that provides the list of IDPS (elixir, cesnet etc...)
 
$name = array_values($auth_config->getArray("default-sp")['name'])[0];
$message = <<<EOD
$message = <<<EOD
 
Dear administrator of Identity Provider,
 
 
this email has been sent to you as this IdP has been requested to be added to the list of IdPs for {$name}.
 
Below you can find the result of configuration inspection. If you wish to add the IdP and the result
 
shows incorrect configuration, please change it.
 
User message: {$_POST['body']}
User message: {$_POST['body']}
IdP name displayed to user: {$_POST['idpDisplayName']}
IdP name displayed to user: {$_POST['idpDisplayName']}
Loading