Skip to content

Commit

Permalink
Include all settings when saving saml_config.php
Browse files Browse the repository at this point in the history
This fixes issue moodle-saml#20
  • Loading branch information
erazorbg authored Sep 25, 2019
1 parent 191bfe1 commit 73a9c97
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ function save_in_saml_config_file() {

$pluginconfig = get_config('auth_saml');
$param['samllib'] = $pluginconfig->samllib;
$param['dosinglelogout'] = $pluginconfig->dosinglelogout == '1'? 'on': 'off';
$param['sp_source'] = $pluginconfig->sp_source;

// Save saml settings in a file.
$encodedparam = json_encode($param);
Expand Down

0 comments on commit 73a9c97

Please sign in to comment.