Skip to content

Commit

Permalink
v.3.18.1
Browse files Browse the repository at this point in the history
  • Loading branch information
damikael authored Oct 14, 2023
2 parents 178fbb8 + 24cd0c4 commit 6a8c43b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"config": {
"version": "3.18.0",
"version": "3.18.1",
"allow-plugins": {
"simplesamlphp/composer-module-installer": true
}
Expand Down
7 changes: 7 additions & 0 deletions setup/Setup.php
Original file line number Diff line number Diff line change
Expand Up @@ -1251,6 +1251,13 @@ public static function setup(Event $event) {
$template = file_get_contents($config['installDir'] . '/setup/sdk/proxy-login.tpl', true);
$customized = str_replace(array_keys($vars), $vars, $template);
file_put_contents($config['wwwDir'] . "/proxy-login.php", $customized);

if (!file_exists($config['wwwDir'] . "/proxy-home.php")) {
$template = file_get_contents($config['installDir'] . '/setup/sdk/proxy-home.tpl', true);
$customized = str_replace(array_keys($vars), $vars, $template);
file_put_contents($config['wwwDir'] . "/proxy-home.php", $customized);
}

if (!file_exists($config['wwwDir'] . "/error.php")) {
// add error.tpl only if not exists
$template = file_get_contents($config['installDir'] . '/setup/sdk/error.tpl', true);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -820,6 +820,7 @@ private static function processAssertion(
}

$req_attributes = $spMetadata->getValue('attributes');
if($req_attributes==null) $req_attributes = array();
$res_attributes_array = $assertion->getAttributes();
$res_attributes = array();
foreach($res_attributes_array as $a=>$v) {
Expand Down

0 comments on commit 6a8c43b

Please sign in to comment.